Student Support Forum: 'Plotting a line with negative slope' topicStudent Support Forum > General > "Plotting a line with negative slope"

 Next Comment > Help | Reply To Topic
 Author Comment/Response yaang 10/31/10 12:01pm I want to plot a line in mathematica with a negative slope by setting it's starting point, length, and slope but i couldn't figure out how to do it. example: A line "AB" has a starting point (40,0) has a length 10 has an angle 127 degrees between x axis In matlab i can do this with %% k = 0:0.1:10; x=40+k*cosd(127); y=0+k*sind(127); plot(x,y) %% Result:http://i53.tinypic.com/2lb18x.png How can i do this with mathematica ? Can anyone help ? (I don't want to draw it from it's end point to beginning point ) 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
 Next Comment > Help | Reply To Topic