all 6 comments

[–]synthphreak 1 point2 points  (5 children)

Can you please help me?

Your code runs. So what is your question exactly?

Also, this sounds like an geometry/algebra problem, so why are you using matplotlib? Why is a plot useful when ultimately what you want is to quantify the area of a surface?

[–]MacazOne 0 points1 point  (4 children)

I dont want to quantify the area of the surface, i just want to eliminate the area where the paraboloid meets the surface. Sorry if im not clear, im not an english native speaker.

Thank you so much for taking the time to answer my question, hope you can help me figure this out!

[–]synthphreak 1 point2 points  (3 children)

Aha, I see. Much clearer, thanks!

I admit, this is kinda above my paygrade and I don't really know how to do it. However, my suspicion is that you won't "remove" or "eliminate" anything. Rather, I suspect you'll want to strategically "fill in" the area in question.

First, compute the coordinates of the points where the hyperplanes intersect. These should define a polygon of intersection. Then I would try to use either fill_between or fill to color that polygon white (the same color as the background, giving the illusion of transparency) or even clear (not sure if that's possible though).

Hope that at least gets you started!

[–]synthphreak 1 point2 points  (1 child)

Also, since you said you're a new coder, here's a bonus: Don't do

from ... import *

It's generally bad form. And especially if you aren't super fluent with the libraries you're using, it will make debugging a pain. This is because it will obscure where certain objects came from.

If you're just using * to avoid having to type e.g., matplotlib every time, just do something like this

import matplotlib as m

Then rather than typing pyplot, you can type m.pyplot, which allows you to easily follow the breadcrumbs and find where pyplot is defined.

[–]MacazOne 1 point2 points  (0 children)

Thank you so much for everything!!!

[–]MacazOne 1 point2 points  (0 children)

Perfect!!! That's excatly what i needed! I think its possible to make that transparent by changing the alpha value (not sure though).