octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OctDev] Java/OpenGL-based graphics package for octave


From: Daniel J Sebald
Subject: Re: [OctDev] Java/OpenGL-based graphics package for octave
Date: Tue, 24 Apr 2007 14:59:09 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020

Michael Goffioul wrote:

Oh, that's interesting. So the stem series is just a single line in some sense
with a bunch of blank spots along the way.


It's actually 2 lines: one for the stems with blanks/NaN inserted, one for the
markers with the original x/y data. But for the rest, you're right.

Here's an example in gnuplot of that concept:

set xrange [0:4]
set yrange [-1:6]
set datafile missing "NaN"
plot '-' with points pt 6 lc rgb "green", '-' using ($1):($2) with lines lc rgb "green"
1 3
2 5
3 4
e
1 0
1 3
NaN NaN
2 0
2 5
NaN NaN
3 0
3 4
e


Of course, there is no reason that the data can't be compressed back into something which gnuplot's "with impulses". So there are two alternatives beyond the concept of having a new line for each stem.

Dan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]