Items tagged with plot

I am plotting a pair of lists of points using

pointplot(Listap, Listbp, symbol = point, symbolsize = 1, size = [1200, 1200])

 

How could is do this with plot so I can add colours? Along the lines Listap(i)^2+Listbp(i)^2 =R, R is in the range 0..1,then colour =R*256 or any other imaginative way of adding colour.
 

restart

with(plots):

with(plottools):

``

``

NULL

``

z := (m+I*n)/(p+I*q)

(m+I*n)/(p+I*q)

(1)

g := proc (z) options operator, arrow; (z-I)/(z+I) end proc;

proc (z) options operator, arrow; (z-I)/(z+I) end proc

(2)

bz := simplify(evalc(Im(z)));

(-m*q+n*p)/(p^2+q^2)

(3)

a := simplify(evalc(Re(g(z))));

(m^2+n^2-p^2-q^2)/(m^2-2*m*q+n^2+2*n*p+p^2+q^2)

(4)

b := simplify(evalc(Im(g(z))));

(-2*m*p-2*n*q)/(m^2-2*m*q+n^2+2*n*p+p^2+q^2)

(5)

``
"  r:=15;   Lista:=Vector();  Listb:=Vector();  j:=1;  for m from -r to r do   for n from -r to r do   for p  from -r to r do   for q from -r to r do  if p<>0 and q<>0 and m^2-2 m q+n^2+2 n p+p^2+q^2<>0 and bz>=0 then  Lista(j):=a; Listb(j):=b;  j:=j+1;  end if;  end do:  end do;  end do;  end do:  j; :"

435713

(6)

``

``

``

``

``

pointplot(Lista, Listb, symbol = plottools:-point, symbolsize = 1, size = [1200, 1200])

 

NULL

``

``


 

Download 096-Chayley_transform_for_MP_question.mw

Hello, I am trying to plot an expression for my General Relativity class, this expression is one of the expanding universe FLRW solutions to the Einstein field equations and contains an unknown functions.

sqrt(S(t))*sqrt(1+S(t))-arcsinh(sqrt(S(t))) = t

My question is how do I get maple to plot this?

Thank you

Hi guys,

I've had only a little experience with Maple, but I decided to use it for preliminary frequecy response calculations. The funny thing is, I have already the solution in some way, but I'm too stupid to get it working. I can't see the mistake, however, it should have something to do with the H_n(f) function and the other normalized functions.

NASA has published a nice paper which explains the calculations, however, they have used MathCAD. Anyway, I don't think this should be a problem. Here is the documentation: https://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/20070016024.pdf 

The error message is for example for the H_n(f) function:

Warning, expecting only range variable f in expression H__n(f) to be plotted but found name H__n

 

Please help me.

Maple file: calculations.mw

I have made an animate-plot with trace function enabled and I was wondering if there was something I could do so it would show the value of the variable when trace reached frame x and y and plot it in the plot or maybe somewhere else.

Thanks in advance.

Hello,

i have a Problem with maple. I have written this simple procedure

myPi_1:=proc(r)
local i,l;
l:=0;
for i from 1 to floor(r) do
    if isprime(i) and (i mod 4 = 1) then
        l:=l+1;
    end if;
end do;
return l;
end proc:    

 

When i use it like this 

k := myPi_1(80);

it works

But when i triy to plot it

plot(myPi_1(t), t = 0 .. 500, numpoints = 500, thickness = 2, color = black);

i get this message
Warning, expecting only range variable t in expression myPi_1(t) to be plotted but found name myPi_1

And no plot

Thank you for any Help

 

 

 

 


 

S[1] := .51-.67030*t+.4644645000*t^2-.2542824350*t^3+.1337509523*t^4

S[2] := .29-.37330*t+.2539795000*t^2-.1337383850*t^3+0.6737783824e-1*t^4

S[3] := 0.6e-1-0.6280e-1*t+0.3392700000e-1*t^2-0.7715060000e-2*t^3-0.2012235525e-2*t^4

V[1] := .14+.18480*t-.3482570000*t^2+.2511604200*t^3-.1217312553*t^4

V[2] := .37-0.9810e-1*t-.1638085000*t^2+.1665366350*t^3-0.8847577175e-1*t^4

V[3] := .59-.36870*t+0.126205000e-1*t^2+0.8559214500e-1*t^3-0.5666617885e-1*t^4

Iota[1] := 0.8e-1-.1000*t+0.6280600000e-1*t^2-0.2652762667e-1*t^3+0.8545290360e-2*t^4:

E[1] := 0.2040e-2*t-0.3584600000e-2*t^2+0.3405427000e-2*t^3-0.2270144502e-2*t^4:

R[n] := 0.5e-1+0.715e-1*t-0.1627750000e-1*t^2-0.3034627500e-1*t^3+0.2606816769e-1*t^4:

> Pls let someone help me plot S1;S2,S3 using Maple.

``


 

Download FINAL_RESULT.mw

How do cylinder (3D plot) from Excel file(csv)?

I have table in the Excel:

Angel(A)  length(cylinder) Function(sin(A)*EXP(1-L/1000)

1                 5                          0,05

2               10                          0,1

......

360         1000                      0

Please help me..

Hi,
I don't understand how contourplot chooses it's view range. I would like a contour plot to go from r=0..10 and display axes from [-10..10, -10..10].


plots:-contourplot(r*sin(phi), r = 0 .. 10, phi = 0 .. Pi, coords = spherical, grid = [80, 80]);

doesn't produce a plot with range [-10..10]. Adding view doesnt compute anything differeently, just makes the axes bigger.plots:-

contourplot(r*sin(phi), r = 0 .. 10, phi = 0 .. Pi, coords = spherical, grid = [80, 80], view=[-10..10,-10..10]);

I want more contour lines near the endpoints of the range. why is it focused in the middle?

any help is appreciated, 

Thanks!

 


 

Hi everyone,

I am making a model of the solar system (not to scale) in Maple for a school project. I need to add an animation to make the planets move on the orbits I have for each of them. How do I do this?

I uploaded pictures on a Photobucket account of how I've done it so far to help. This is my first time using Maple so I know that I probably did some things inefficiently. 

Photobucket URL: http://i1070.photobucket.com/albums/u492/nmsnyder007/Capture1_zpsfmitm0ou.jpg

Thanks :)

I want to plot a simple power function in diferent pieces by using diferent range and  for different values of parameter a[i] at i=0,1,2 define in the attached sheet.

plot_at_different_intervals.mw

On Y axis: (Each set represents a car and each set has 10 values for different position of same car)

[[761, 768, 776, 784, 793, 803, 813, 823, 833, 842], [723, 725, 728, 731, 734, 738, 743, 749, 756, 764], [516, 516, 516, 517, 519, 522, 526, 531, 536, 541], [382, 384, 386, 389, 393, 398, 404, 411, 419, 427], [78, 86, 95, 105, 115, 125, 135, 144, 154, 164], [751, 760, 770, 780, 790, 799, 809, 819, 829, 839], [773, 783, 793, 803, 812, 822, 831, 840, 850, 859], [160, 170, 180, 189, 199, 209, 219, 229, 239, 249],.....]

On X axis: (time for 1 to 10)

[1,2,3,4,5,6,7,8,9,10] for each of above sets. 

In each set for example, 1 corresponds to 761, 2 to 768 and so on until 10 to 842, then onto next set. The number of sets I will generate can be between 50-500. And I need to have all of the same graph. This data will tell me under the conditions I set how one car's position effects other cars. 

I also have relative velocity values in same format:

[[7, 7, 8, 8, 9, 10, 10, 10, 10, 9], [1, 2, 3, 3, 3, 4, 5, 6, 7, 8], [0, 0, 0, 1, 2, 3, 4, 5, 5, 5], [1, 2, 2, 3, 4, 5, 6, 7, 8, 8], [8, 8, 9, 10, 10, 10, 10, 9, 10, 10], [8, 9, 10, 10, 10, 9, 10, 10, 10, 10], [10, 10, 10, 10, 9, 10, 9, 9, 10, 9], [9, 10, 10, 9, 10, 10, 10, 10, 10, 10], [8, 8, 9, 9, 9, 10, 9, 9, 9, 9], [8, 9, 10, 9, 10, 9, 10, 9, 10, 9], [9, 10, 9, 9, 10, 10, 10, 10, 10, 10], [7, 7, 8, 9, 10, 10, 9, 9, 10, 10], [10, 10, 10, 9, 9, 10, 9, 10, 10, 10],...]

I will also need to graph this. 

Please Help!
 

I have to plot 10 squares each one inscribed into each other. After the first one, which is a square with a side of 10m, each following square has got each edges wich are distant from the previous edges (side of the previous square)/4 metres, on the

 

sides of the previous square

How can i draw it?


 

Hi,

I'm struggling to solve a problem with the Maple 2015 worksheet interface. I have a very dense 2D plot, with lots of oscillations, that was generated using Maple 2015 on Windows 10. Substantial parts of the plot are missing; it looks like the tips of the oscillations being clipped out. If I load the same worksheet into Maple 18 on Windows 7 then the plot looks fine (i.e. nothing is clipped). I've dug through the options in Maple 2015 and nothing I try seems to fix the problem. Any advice would be greatly appreciated.

Many thanks,
David

 

I expected plot with an undefined name to do nothing, but,

plot(asdf);

actually plots y=x!

I have to first plot the some point like (-1,4), (0,3), (1,4) etc. and then I wish to know how I can connect them with a line. 

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