Items tagged with plot plot Tagged Items Feed

In a plot command, how do I indicate not to show the legend ?

(I know about unchecking "show legend" with a right click, and I have searched mapleprimes.)

 

Thanks, all !

I'd like to plot a surface from three lists in the following way:

For each item in the list X we have a specific curve "plotted" in the plane Y vs Z.

In other terms, we have something like that: each X[i] will be related to two lists, say, Z[1], Z[2], Z[3] and Y[1], Y[2], Y[3], X[i+1] will be related to Z[4],Z[5],Z[6], and Y[4],Y[5],Y[6] and so on...

A very 'thin' surface following this would be, as a example:

X=[1,2]

Y=[[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29], [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30]]

Z=[[20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49], [21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50]]

I am looking for some tutorial showing something similar but without any success. Please, any kind of help certainly will be absolutely very appreciated. Thanks in advance! Best regards,

 

 

with(plots);

polarplot(1+2*sin(theta),theta=0..2*Pi);

 

it makes a graph made up of polar coordinate.

i wannna solve the question in cartesian coordinate

i wouldnt come up with ideas to solve it!!

please help me

 

for example)

y= r*sin(theta)

1+2y/r=r

y=(r^2-r)/2

...

...

y=x^n+x^n ....

x= something , something, something

 

Hi

I want to plot this equation to obtain 5 curves, then the maximum point  of eath curves link together.

But I can not plot this equation;anybody can help me?

restart; Eq := x-(r+3.1*10^7*exp(-11616/(1.98*T)))/(3.1*10^7*exp(-11616/(1.98*T))+1.8*10^18*exp(-29691/(1.98*T))) = 0; R := [0, 0.1e-2, 0.1e-1, .1, 1.6]; plots[implicitplot]([seq(eval(Eq, r = R[i]), i = 1 .. nops(R))], T = 0 .. 500, x = 0 .. 2, color = [red, blue, green, yellow, black], gridrefine = 5)

 

 

 

I want to draw plots with big numbers in axes

but when I change font sizes it dont work

please help me

Thanks

restart;
eta := 3:
beta := t[1]*(H-t[1])/H^2:
for i from 5 to 10 do H := i:
PL[i] := plot((t[1]^4+2*eta*beta*(2-beta)*H^4+eta^2*(H-t[1])^4)/(eta*(H-t[1])+t[1]), t[1] = 0 .. H, y = 0 .. 3000, color = black, axesfont = [Font(14), Font(14)], size = [560, 500]) end do:
with(plots): display({seq(PL[j], j = 5 .. 10)})

 

I need a list version of Contourplot. I have a list in the format [[z1,x1,y1],[z2,x2,y2],...[zn,xn,yn],...]

where z represents some data value at coordinate (x,y). Basically I need a 2D figure with the x and y values shown on the axes and the z-value represented in a color code. Just like "contourplot" except in my case I cannot use it since I do not know the general function of two variables but only the list  with the data points. Is this possible with a built in Maple command?

 

Thanks

 

 

I want to plot a function f(v). But I could not find the explicit form of f(v). I know the function f(u) where u satisifies the relation int(h(u),u)=v for known function h(u). But unfortunately, Maple could not help to solve the integral i.e. I could not find u in terms of v. Under these conditions, is it possible to plot f(v) by using Maple?

Thanks.

In the (r,t) polar coordinates, the graph of the equation r = 1/cos(t) should be a straight vertical line segment but Maple produces junk.  What is going on?

plot(1/cos(t), t=0..Pi/3, coords=polar);

The parametric version

plot([1/cos(t), t, t=0..Pi/3], coords=polar);

produces the same thing.

Is it possible to plot the equation 1=x^2+(y-1)^2 within Maple without rewriting it into a function or something like that? I can see that it is an easy to plot circle, but I just wonder whether it is possible.

I am thinking about plotting a star chart of the whole sky. While it might not be difficult to get the (x,y)-coordinates of fairly good number of stars from star catalogues and to plot them accordingly in a 2d-plot, it might be more difficult to plot the stars according to their brightness. Also, I would like to plot the chart in cylindrical coordinate with astronomical coordinate axes for x and y. Moreover, only the brighter stars should be visible when the whole chart is shown, but when zooming in (while still having the axes visible) to have a closer look at some specific locations where I wand to make some square to show some fields, fainter stars should appear.

Is this possible in Maple ? I'd prefer to do a plot as I can really draw several squares where I want them which is not possible in my planetarium software.

Hello everyone. I am trying to make a position time graph of a charged particle in an gravitational and electric field. This is just for an application of Maple to Lagrangian mechanics. I have set up my Lagrangian, did the Euler-Lagrange equation, and solved the differential equation. When I go to plot it, just the axes show up and I dont have a line. I have followed other examples of Lagrangian mechanics in Maple and its still not working. Here is the code for the odeplot:

Eq7:=dsolve({Eq6,initial},{q(t)},numeric,output=listprocedure)

odeplot(Eq7,t=0..10)

Eq6 is the Euler-Lagrange equation for my system, initial is the initial values, and q(t) is the position of the particle.

Any suggestions will help.

 

 

When I create any plot or drawing in Maple and print to pdf, the program adds a blank space underneath the plots. How can I stop this from happening?

Example: Some code I wrote, before hitting enter

The code I wrote, before plotting the figure

After hitting enter
BTW if somebody knows how to avoid getting the extra [> I'm much obliged

 

And now a screenshot from the print to pdf

See the blank space which is suddenly added?! It really destroys my lay-out for my report. I think the solution must be an easy change in the settings, but I can't figure it out.

 

Thanks in advance

Hello,

 I need help writing a maple code to calculate the normal to the curve X^2-2X at x=1.5

and also display the curve, the tangent, and the normal on the same plot in the range x=[-10,10].

I manage to answer the question, but i am not quite certain if i have written a proper code..please if someone can review my solution and advise me i would really appreciate it....

I also would like to also make visisble the point of tangency at x=1.5 and give description of the figure but i am not sure how to do so...

 

how can i cut and paste the exact code with the images....it seesm that it doesnt allow me to do direct cut and paste so i changed it to 1-D and paste it into this page..

Thank you for your help.. 

 

 

 

 

 

restart;

 

 

    f := proc (x) options operator, arrow; x^2-2*x end proc;

   (D(f))(x);

 

 #Then, the slope of the line tangent to the graph of f(x) at the point with x-coordinate, x=1.5 is,

 

    D(f)*at*x = 1.5; 

   evalf((D(f))(1.5));

 

#The y-coordinate of the point is 

 

  f(x)*at*x = 1.5;

 

   evalf(f(1.5));

 

   showtangent(f(x), x = 1.5, color = [black, purple]);

   plot([f(x), (D(f))(1.5)*(x-1.5)+f(1.5)], x = -10 .. 10, y = -10 .. 10, color = [black, purple]);

 

 

  plot([x^2-2*x, x-1.5-.75, -x+.75], x = -10 .. 10, y = -10 .. 10, color = [black, purple, pink]);

 

 

 

 

 

 

Hi

When I use below cmmand within conditional statements or proc loops, It dosent work

How can I use a similar command to export plot as an Image with arbitrary format under any circumstances?

plotsetup(bmp, plotoutput = `Pic.bmp`, plotoptions = `height=400,width=400`); NCP; (NCP has a plot structure)

hello i need plot integrale of siampson thank you

> Simpson := proc(f, a, b, n)
> local h, S1, S2, S, i;
> h := (b-a)/n;
> S1 := 0.0;
> for i from 0 to n-1 do
> S1 := S1 + f(a + (2*i+1)*h);
> end do;
> S2 := 0.0;
> for i from 1 to n-1 do
> S2 := S2 + f(a + (2*i)*h);
> end do;
> S := (h/3) * ( f(a)+f(b) + 4*S1 + 2*S2 );
> return S;
> end proc:
> Digits := 5;

                             Digits := 5

> f := x -> 1/sqrt(39.24*x-44.65*(x*arccos(x)-sqrt(1-x^2)-13.88*(1-x^2)^1.5));

  f := x -> 1/sqrt(39.24 x

                                          2                2 1.5
         - 44.65 (x arccos(x) - sqrt(1 - x ) - 13.88 (1 - x )   ))

> Simpson(f, 0, 1, 100):
>
> p:=int(f(x), x=0..0.1);

                            p := 0.0038931

> w:=int(f(x), x=0.1..0.2);

                            w := 0.0039570

> m:=int(f(x), x=0.2..0.3);

                            m := 0.0040826

> l:=int(f(x), x=0.3..0.4);

                            l := 0.0042836

> kohv:=int(f(x), x=0.4..0.5);

                          kohv := 0.0045860

> q:=int(f(x), x=0.5..0.6);

                            q := 0.0050373

> s:=int(f(x), x=0.6..0.7);

                            s := 0.0057306

> d:=int(f(x), x=0.8..0.9);

                            d := 0.0089874

> f:=int(f(x), x=0.9..1);

                            f := 0.013349

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