| 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: , |
|