| Author |
Comment/Response |
David Heaney
|
02/22/00 7:52pm
Okay its probably not the best idea, but then im not the brightest bulb in the box.
Im trying to draw graphs in Mathematica to include in a project. And what I want is the following.
I want both axes to go through the origin.
I dont want numbers on the axes.
And if I could put Labels on the axes that would be fantastic.
If you want to see the kind of graph I want to plot.
Look how messy this ends up :
c=2;
u=5;
f[x_]:=Which[ x< 3, u-1 + c x]
f1[x_]:=Which[ x>=3 && x<5 , u-3 + c x]
f2[x_]:=Which[ x>=5 && x<8 , u-4 + c x]
f3[x_]:=Which[ x>=8 && x<11 , u-7 + c x]
Plot[{f[x],f1[x],f2[x],f3[x]},{x,0,10},AxesOrigin->0]
It doesnt draw the whole axes and the numbers clutter it up.
Any help please ?
Thanks.
David.
URL: , |
|