Items tagged with implicitplot implicitplot Tagged Items Feed

Hi everyone,

I guess the question I am asking is quite common, however I am still not able to figure it out. I have several (right now three) non-linear inequalities. Given these inequalities, I try to plot them in one graph and then color the different areas with different colors. It would be also ok, if just the area where all inequalities hold is plotted. To do this I have already tried several things. With implicitplot and transparency it is generally working, but...

I have this

plotS := plots[:-implicitplot3d](S0(2, 1, x0, sigmaH) = S0(c, delta, xT, sigmaL), c = 0 .. 4, delta = 1 .. 3, xT = .8 .. 1)

to draw the graph below. What I would really like is to revert the direction of the xT axis. Any way to do this??

 

Thank you for your help

I have two inequalities in the complex variable z, called "ineq" and "ineq2".  When I issue the following plotting command, I can show the region of the complex plane that satisfies both inequalities:  It appears as a black region:

 

plots[implicitplot](eval(ineq = ineq2, z = x+I*y), x = -8 .. 8, y = -8 .. 8, gridrefine = 3, filled = true)

 

Now, I would like to generate a similar overlap plot, but for three inequalities,...

I haven't posted here in a while, and am not sure how to enter things, so this may not post correctly. But what I need help with is how to animate the following so that they will actually "draw" the heart shaped implicit plots either from the top down, or the bottom up, or however else might look interesting.

Thanks in advance.

 

How it works to be so fast?

impl_plot.mw

 

Is it somehow related to other wonderful tetralogy:

http://www.mapleprimes.com/posts/95845-Generating-Samples-From-Custom-Probability-Distributions-I?

Implicitplot

 

Suppose that I wanted to produce a 2D plot which was coloured in the region between two functions.

I mean not just between two curves, but between two functions. I would like to make the curves appear as smooth as Maple knows how, but without getting any jaggedness due to using a high grid in an implicitpot.

Consider this example. These two curves are displayed as being quite smooth (using adaptive plotting or whatever `plot` knows to use). How best can the regions between these two curves be filled, without having to recourse perhaps to a rough implicit plot?

plot([x^2-1, -x-1], x=-1.5..1.5, y=-1.5..1.5, color=black);



A simple trick with a product provides a defined implicit region that `implicitplot` can handle. But there can be small gaps, or irregularities, because the formulas for the curves are being solved in a complicated way and no longer being used as mere functions.

plots:-implicitplot( (y - (x^2-1))*(y - (-x-1)),
                     x=-1.5..1.5, y=-1.5..1.5,
                     filledregions=true, gridrefine=4,
                     coloring=[COLOUR(RGB,.8,.8,.9),"white"],
                     axes=boxed, labels=["x","y"],
                     view=[-1.5..1.5,-1.5..1.5] );



Another technique is to overlay two simpler implicit plots, colouring and layering them carefully so as to give the impression that only the inner regions had been coloured. The problem here is that the intersections all have to be computed and the problem split up piecemeal (which I did not do) so that the layered colouring is adjusted to whichever curve lies on top. Without that care, then something like this happens, with odd subregions appearing uncoloured.

plots:-display(
   plots:-implicitplot( x^2-1 >= y, x=-1.5..1.5, y=-1.5..1.5,
                        filledregions=true, gridrefine=4,
                        coloring=["white","white"] ),
   plots:-implicitplot( -x-1 >= y, x=-1.5..1.5, y=-1.5..1.5,
                        filledregions=true, gridrefine=2,
                        coloring=[COLOUR(RGB,.8,.8,.9),"white"] ),
               axes=boxed, labels=["x","y"], view=[-1.5..1.5,-1.5..1.5]);



Did I miss something obvious? Is there some other calling sequence or command that makes this much easier (and smoother, by default)?

I tried this, but it doesn't seem to like having the x's and y's in the z range. 

 implicitplot3d(x = 6, x = 1 .. 7, y = 2 .. 5, z = 0 .. (1/4)*(x-4)^2+(1/5)*(y-3)^2+10
  , view = [0 .. 8, 0 .. 8, 0 .. 20], transparency = .5, style = hidden);
%;
Error, (in plots/iplot3d/implicit3d) bad range arguments x = 1 .. 7, y = 2 .. 5, z = 0 .. (1/4)*(x-4)^2+(1/5)*(y-3)^2+10

I'm trying to plot a surface above the xy plane that looks like a solid,...

Maple 15, Windows7x64, Standard v. Classic

I have noticed that, on my system, the smoothness of some INLINE plots is better in Classic than in Standard. Is this some regression or some installation-specific quirck I wonder?

In Tools->Options, I have plot anti-aliasing enabled (whatever that is).

This looks alright in Classic

plots:-implicitplot(
  [ x^2 + y^2 = 1, x^2 + y^2 = 2 ]
  , x = -2 .. 2
  , y = -2 .. 2

Page 1 of 1