Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Plotting a line with negative slope' topicStudent Support Forum > General > Archives > "Plotting a line with negative slope"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Dims
11/01/10 02:10am

This is "parametric plot".

ParametricPlot[{40 + k*Cos[127 Degree], 0 + k*Sin[127 Degree]}, {k, 0, 10}]

You should not prepare two vectors before plotting in Mathematica, you should only have math expresion of point coordinates. Here it is

{40 + k*Cos[127 Degree], 0 + k*Sin[127 Degree]}

it depends on k.

{k,0,10}

is not a range like in your Matlab formula, but just a list argument for ParametricPlot function. You should not provide step, because it is calculated interlnally to make graph continuous.



URL: ,

Subject (listing for 'Plotting a line with negative slope')
Author Date Posted
Plotting a line with negative slope yaang 10/31/10 12:01pm
Re: Plotting a line with negative slope Bill 10/31/10 9:42pm
Re: Plotting a line with negative slope Dims 11/01/10 02:10am
Re: Plotting a line with negative slope Nasser M. Ab... 11/01/10 04:21am
Re: Plotting a line with negative slope yehuda ben-s... 11/01/10 10:46am
Re: Plotting a line with negative slope Peter Pein 11/09/10 1:08pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic