|
From: Gavin B. <gav...@ya...> - 2006-06-20 08:42:41
|
The answer to your first question is to plot an arbitrary function outside of the range of the plot; i.e., splot -10 and then set zrange between 0 and 1 or whatever. The second question I'm not too sure about. In 2D plots you can do the following: set xzeroaxis lt -1 set yzeroaxis lt -1 unset border set xtics axis set ytics axis This gives you what I think you want, but it only works in 2D (I think) I don't know about 3D. > I want to create graphs for my homework assignment. > I have vectors in > component form (ex. <0,1,0>). I want to show 3D > vectors by themselves, > but I can't figure out how to do that. I tried > looking at > arrowstyle.dem, but I don't understand how it works. > > This is what I can do: > > gnuplot> set arrow from 0,0,0 to 1,0,0 > gnuplot> splot x > > Now I can see the vector that I want, but the only > way I can show it is > by graphing an arbitrary function, which is not what > I want. > > Also, the axes are shown at the sides of the graph > instead of at the > origin. > > My questions: > > 1) How can I show my vector(s) alone? > > > > 2) How do I make the axes show as the X-,Y-, and > Z-axes (instead of > showing at the edges of the graph)? > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |