Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'No graph' topicStudent Support Forum > General > Archives > "No graph"

Next Comment >Help | Reply To Topic
Author Comment/Response
Amy Chow
05/20/05 9:30pm

I am trying to plot graphs of exponential differential equations. I have code from a tutorial lesson, but when I either type or copy it into my own notebook, no line shows up. The axes show up, but there is no line on it.

r = -0.5;
starter = 0.3;
Clear[y, t];
y[t_] = starter E^(-rt)

endtime = 6;
Plot[y[t], {t, 0, endtime}, PlotStyle -> {{Blue,
Thickness[0.01]}}, PlotRange -> All, AspectRatio -> 1/GoldenRatio, AxesLabel -> {
"t", "y[t]"}];

I get a function on the Out line for the first part of code, and then I get an empty set of axes for the second part of the code. Why is no line showing up though?

URL: ,

Subject (listing for 'No graph')
Author Date Posted
No graph Amy Chow 05/20/05 9:30pm
Re: No graph yehuda ben-s... 05/22/05 4:37pm
Next Comment >Help | Reply To Topic