|
From: James R. P. <ant...@ya...> - 2006-04-10 11:58:26
|
--- Patrich Rammelt wrote: > Hi > > My problem is this: > Plot3 does not work as expected. The example from the help text (help > plot3) does not create a single line. Instead plot(x,y,z) creates 3+N > lines (where x, y and z are vectors with N elements each). > > More detailed description of what I see: > One dimension on the plot is the sample-index (1..N), on the second > dimension there is one value (1,2,3) for x,y and z and the third > dimension shows the values of x,y and z itself. > There is one line connecting the values of x and one for y and one for > z. Additionally there are N lines connecting x(i) with y(i) and z(i) > for all i=1:N. > > I tried to reinstall octave-forge and gnuplot but that did not make > any difference. > OS: Windows XP, > Octave 2.1.72, > gnuplot 4.0 patchlevel 0 (Cygwin). > > Under Linux everything is just fine. > > Any ideas? > Thanks, > Pat > This issue probably belongs on the help list, not on the developers list. Note that the current version of Octave on Cygwin is 2.1.73. I don't know that you would get different results with the newer version, but you should be aware that you are not at the most current version. You didn't state the versions of Octave and Gnuplot you are using under Linux, or the distribution you are running. This makes it much more difficult to investigate the question of whether the issue is related to the octave software of a particular version on any platform, or whether it is unique to the Cygwin platform. Generically speaking, the work-around for this issue on Cygwin (aside from finding the issue in the code and fixing it) is to use octave to write ascii data files in the proper format for gnuplot, and then to use gnuplot outside of octave to make your plot. As a quick "get me started" guide to gnuplot, I like the "not so frequently asked questions" website ( http://t16web.lanl.gov/Kawano/gnuplot/index-e.html ). On the other hand, if everything is just fine on Linux, would just using Linux be an acceptable workaround? James R. Phillips Cygwin Octave maintainer |