Items tagged with plot3d plot3d Tagged Items Feed

I have been generating graphics in Maple 16 using the plotsetup(ps,...) command under Windows 7 and Linux.  Maple tech support has a fix for Linux and has confirmed that there is a bug in the Windows version.  These are a Windows eps (converted to png for uploading) and png of the same figure.  The eps conversion should not do this.

Hello! I am trying to graph the following: 

dx/dt = -10*x + 10*y 
dy/dt = r*x - y - x*z 
dz/dt = -(8/3)*z + x*y 

where x, y, and z are all functions of time (t). Solve the equations subject to the constraint that r = 25 and the initial conditions that at t = 0, x = -1, y = -1, and z = 1. 


This is my code:
DE*plot3d({d*x(t)/dt = -10*x(t...

So I want to display a plot containing a spiral and a polygon graph approximating the shape. I use a seq to make the points in pointplot3d and then connect them with the connect option. It looks like this:

y(t):=t-><cos(t),sin(t),t>:
graph := spacecurve(y(t), t = 0 .. 6, thickness = 3, axes = box, color = blue):
poly6 := pointplot3d({seq([cos(t), sin(t), t], t = 0 .. 6, 1)}, connect, axes = box, 
color = red, thickness = 3, caption = {n = 6}):

Hi, 
I'm trying to visualize a 3-Dimensional function, the color being the 4th dimension. All the examples that I have found of the so called plot3d function only involve 2D functions, the third dimension really being the return value of the function. I need more: I have a 3D function which takes in (x,y,z) if you like, and outputs one number. I'd like to visualize this function in maple. 

 

Thanks, 
~Austen 

As far as I know, exporting an Array or Matrix of plot is not directly possible in Maple 15. Is that right? Is there a workaround?

Refer to this comment:

http://www.mapleprimes.com/questions/36802-Arrayplot#comment63786

However, I read a suggestion by dskoog that seemed to work:

http://www.mapleprimes.com/questions/121011...

Hi,

As a piece of work, I am required to define a function, and plot it in 3d.

The problem is regarding the 'gamma' function. We have to define it as:

myGamma:= x->int(exp(-t)*t^(x-1),t=0..infinity);


Then a later part of the questions asks you to define phi as the following function:

plot3d(x^2+y^2+2*x, x = 0 .. 3, y = sqrt(4-x^2) .. sqrt(9-x^2))

 

It will only plot as far as x = 2, except for one line.  Maybe because sqrt(4-x^2) is undefined for x > 2?

 

How can I plot over an annular region?

 

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,...

I have been trying to obtain a 3D plot of f9x,y)=(x+y)e^(-x^2-y^2) and it keeps outputting  "warning unable to find numerical values for the in the region....blah blah blah"

Here is my call sequence


> plot3d((x+y)*e^(-x^2-y^2), x = -1.7 .. 1.7, y = -1.7 .. 1.7);
Warning, unable to evaluate the function to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct

Anyone know what to do? ...

That is, something that will plot a bunch of rectangular boxes in 3d, instead of a bunch of rectangles in 2d.  Thank you.

I am creating a maple document to display the tangent plane to a function. the resulting function and tangent plane are displayed in a plot component. The problem I am having is that I can display both the function and the tangent plant at the same time with the foloowing statements:

PlotSurfs := plot3d([Func,TanPln], x = Xo-DmX .. Xo+DmX, y = Yo-DmY .. Yo+DmY,axes=VarAxes,scaling=VarScl,orientation=[OrX,OrY,OrZ]);

 DocumentTools[SetProperty](PlotWin, value, PlotSurfs);

I was recently looking at rotating a 3D plot, using plottools:-rotate, and noticed something inefficient.

In the past few releases of Maple, efficient float[8] datatype rtables (Arrays or hfarrays) can be used inside the plot data structure. This can save time and memory, both in terms of the users' creation and manipulation of them as well as in terms of the GUI's ability to use them for graphic rendering.

What I noticed is that, if one starts with a 3D plot data structure containing a float[8] Array in the MESH portion, then following application of plottools:-rotate a much less efficient list-of-lists is produced in the resulting structure.

Likewise, an effiecient float[8] Array or hfarray in the GRID portion of a 3D plot structure gets transformed by plottools:-rotate into an inefficient list-of-lists object in the MESH portion of the result. For example,

restart:

p:=plot3d(sin(x),x=-6..6,y=-6..6,numpoints=5000,style=patchnogrid,
          axes=box,labels=[x,y,z],view=[-6..6,-6..6,-6..6]):

seq(whattype(op(3,zz)), zz in indets(p,specfunc(anything,GRID)));
                            hfarray

pnew:=plottools:-rotate(p,Pi/3,0,0):

seq(whattype(op(1,zz)), zz in indets(pnew,specfunc(anything,MESH)));
                              list

The efficiency concern is not just a matter of the occupying space in memory. It also relates to the optimal attainable methods for subsequent manipulation of the data.

It may be nice and convenient for plottools to get as much mileage as it can out of plottools:-transform, internally. But it's suboptimal. And plotting is a topic where dedicated, optimized helper routines for some particular data format is justified and of merit. If we want plot manipulation to be fast, then both Library-side as well as GUI-side operations need more case-by-case-optimizated.

Here's an illustrative worksheet, using and comparing memory performance with a (new, alternative) procedure that does inplace rotation of a 3D MESH. plot3drotate.mw

I would like to set an axis to logarithmic scale, after having loaded the Units[Standard] package.

The command is:

plot3d( function(input), x=-1..1, y=1..1, axis[3]=[mode = log] )

Confoundingly, the error is:

Error, (in plot3d) expecting option mode to be of type identical(linear, log)
 but received Units:-Standard:-log

So the problem is that with(Units[Standard]) hijacks all occurences of log and replaces them with...

 

I would like to set the range for a 3d plot.  For a 2d plot, I understand I can do it at the command line or by setting the axes properties after the plot's been drawn.

If I use plot3d(x*y, x=-10..10, y=-10..10) for example, how can I look at those parts of the surface for which -2 < xy < 2 for example?  I'd be happier with a command line option than a gui option but really anything would do.

 

many thanks!

Mary

Maplesoft Employee

Paper Models of 3D Plots

September 09 2011 by Paul 290 Maple

 

                

3D Paper Physical Model

1 2 Page 1 of 2