Items tagged with plot3d

Feed

Can't understand what's wrond. This text from my academic books but it doesn't work on practice. Help please

 

plot3d(polygons([[0, 0, 0], [1, 0, 0], [1, 0, 0], [0, 1, 0]], [[0, 0, 0], [0, 1, 0], [0, 1, 1], [0, 0, 1]], [[1, 0, 0], [1, 1, 0], [1, 1, 1], [1, 0, 1]], [[0, 0, 0], [1, 0, 0], [1, 0, 1], [0, 0, 1]], [[0, 1, 0], [1, 1, 0], [1, 1, 1], [0, 1, 1]], [[0, 0, 1], [1, 0, 1], [1, 1, 1], [0, 1, 1]]), light(0, 0, 0.0, 0.7, 0.0), light(100, 45, 0.7, 0.0, 0.0), light(100, -45, 0.0, 0.0, 0.7), ambientlight(.4, .4, .4), title(cube), style(patch), color(zhue));

Error, (in plot3d) bad range arguments: light(0, 0, 0., .7, 0.), light(100, 45, .7, 0., 0.)
 

Hello,
I try to visualize this formula in a 3D graphic.
However, I get again and again this error message displayed and unfortunately knows no more solution.
I am a total beginner with Maple, I hope here can help me.

plot3d(100*(0,15+0,035*x)+100*(0,15+0,035*9), 100*(35*9))+0,05*(100-(100*(0,15+0,035*x)))*(0,15+9*y), x = 2 .. 9, y = 0, 1 .. 0, 45, axes = boxed);

Error, (in plot3d) unexpected options: [5*(100+(0, -1500, -3500*x))*(0, 15+9*y), x = 2 .. 9, y = 0, 1 .. 0, 45]

 

With the following command I can plot two spheres and plot them.

f1 := x^2+y^2+z^2 = 1

f2 := x+y+z = 1

with(plottools);

with(plots);

S1 := implicitplot3d(f1, x = -1 .. 1, y = -1 .. 1, z = -1 .. 1, style = patchnogrid, color = blue, scaling = constrained, axes = boxed)

S2 := implicitplot3d(f2, x = -1 .. 1, y = -1 .. 1, z = -1 .. 1, style = patchnogrid, color = gold, scaling = constrained, axes = boxed)

dispaly(S1,S2)

My questions are:

1- How can I display (highlight) the circle which is the intersection between these two sphere on the same figure?

2- How can I find the equation of this circle?

Thank you.

Dear All,

The excel file consists of data (v2, Re, t) and I would like plot the variable "t" aginst the variables "v2" and "Re". Could anyone point me out?

Attached is the excel data.Collapsetime.xlsx 

Thank you.

Very kind wishes,

Wang Zhe

Hello,

How to build cuboid in pyramid like this animation

http://www.irem.univ-mrs.fr/article/optimisation-du-volume-d-un-pave.html

Thanks !

Dear all,

 

Is there any way to fill the upper region in plot3d?

e.g. if I put the filled option in 

plot3d(y^3+x^2, x = 0 .. 1, y = -1 .. 1, filled)

then the region between the x-y plane and my plot will be filled. What if I want to fill the upper region?

The reason is that I want to show the upper region is acceptable for me, but I couldn't find any other way. 

If you have any solutions for me, I appreciate it.

Hello

I have two vectors of angle Theta and Phi  given by

Theta=[ 0, Pi/3, 2*Pi/3, Pi];

Phi=[ 0, Pi/3 , 2*Pi/3 , Pi,4*Pi/3, 5*Pi/3, 2*Pi, 7*Pi/3];

I would like a general procedure how can I put on the unit sphere only the point 

x=cos(Phi).*sin(Theta);
 y=sin(Theta).*sin(Phi);
 z=cos(Theta);

where

(Theta, Phi) in the set {(0,Pi/3),  (0,Pi),  , (0,5*Pi/3),  

(Pi/3,0),   (Pi/3,2*Pi/3),   (Pi/3,4*Pi/3),   (Pi/3,2*Pi), 

(2*Pi/3,Pi/3),   (2*Pi/3,Pi),   (2*Pi/3,5*Pi/3),   (2*Pi/3,7*Pi/3), 

(PI,2*Pi/3),   (Pi,4*Pi/3),   (Pi,2*Pi) }

can we extract these set of point fro the definition of the two vectors Phi and Theta and then make the plot

of course we use 
Many thanks

 

plot3d([[1,3,5],[10,30,55],[50,70,25]]);

there is no lines in plot3d

plot can do this, plot3d seems different

plot([[1,1],[10,20],[5,7],[2,3]]);

Hi dears,

How can I draw the solution of the following 3d linear inequalities in Maple?

A:={-x-y+3*z >= 0, -x+2*y >= 0, 3*x-2*y-z >= 0, x > 0, y > 0, z > 0}

I am looking forward to hearing from you

Sincerely yours.

 

When trying to perform the following:

p1 := proc (x, y) if x^2+y^2 <= 1 then x*y-y^2 else 0 end if end proc;
plot3d(p1, x = -1 .. 1, y = -1 .. 1);
Error, (in plot3d) expected ranges but received x = -1 .. 1 and y = -1 .. 1
 

I get this strange error message. To the best of my knowledge x and y ARE provided as ranges. What am I missing/not understanding?

If I omit the ranges in plot3d Maple returns a correct plot, but the default range (-10 .. 10) does not display sufficient details

Hi.

I got 2 surfaces given by z=(r,theta)

I have plotted them by converting to cartesian, it gave me a good representation, but i dont get the surface entirely closed. I then used the task template vizual integration and got the solid i needed.

The problem with the rough representation cartesian conertation gives is that the integrals for volume, flux etc becomes so complex maple struggle to calculate it and since the surface is not completly closed it gives me the wrong value.

How can I plot cylindrical and spherical cordinates? 
 

I have checked the following helping page in maple: Set Coordinate System for 3-D Plots

plot_cylindrical.mw

I have the planes:

Plane 1: x + 3y - 5z = 0
Plane 2: x + 4y - 8z = 0
Plane 3: - 2x - 7y + 13z = 0

and I want to plot them in a 3d space with plot3d.

I tried to assign each plane to its own variable like this:

P1 := x+3y:
P2 := x+4y:
P3 := -2x-7y:

plot3d([PlaneOne, PlaneTwo, PlaneThree], x = -8 .. 8, y = -20 .. 20, plotlist = true, color = [blue, red, green])

The planes plot, but they aren't showing correctly.

Here's how they should look, and here's how they look.

Please help. I don't know what I'm doing wrong

There are many conventions for the Euler angles or other angles used to define o rotation of a 3d plot.
In Maple these angles are in the plot option orientation, but I think that the help page is not correct about them.
The same info appears in a worksheet (see ?rotateplot), so I am even more intrigued. [Note that many authors also switch phi and theta in spherical coordinates].

The help file says:

orientation=[theta, phi, psi]
This orientation specified by these angles is obtained by rotating the plot
1. psi about the x-axis,
2. then phi about the (transformed) z-axis, and
3. then theta about the (transformed) y-axis.
  These angles, given in degrees, are the Euler angles for the transformation matrix, using the axes specified. The angle psi is optional and is assumed to be 0 if not given. If the orientation option is not specified, the default value used is [55, 75, 0].


After some tests it seems that y and z should be switched, i.e. keeping the names (and order) for the angles ==>
1. psi about the x-axis,
2. then phi about the (transformed) y-axis, and
3. then theta about the (transformed) z-axis.

 
Am I right?

 

 

Given 3 surfaces:

x^2+y^2=1,z=0(the xy base plane) and z=1-x^2

To plot these I suggested to use cylindrical coordiates knowing x=r*cos(t) and y=r*sin(t)

Which leads to z=1-r^2*cos^2(t)

However i got problems knowing how to plot this object and dearly ask for help.

plothelp.mw

I'd like ot make a 3d graph that is log scaled on at least one of the axis. So far I haven't found a way of doing this that gives a graph that I genuinely like.

The following worksheet shows two ways of making the graph- the first generates the lines on the surface in a very bunched way, the second typesets the tickmarks in a very ugly way.

How can I get a graph with well placed lines and nicely typeset tickmarks?

How do other people make 3d logplots?

 

 

thing := x*log(y)*y^2*sin(1/y)^2;

x*ln(y)*y^2*sin(1/y)^2

 

 

 

``


 

Download logplot3d.mw

 

 

 

1 2 3 4 5 6 7 Last Page 1 of 9