Sat 11 Jun 2016 07:50:05 AM UTC, comment #7:
Sorry about that folks. I misunderstood what "lt" represents. Near the end of June I will look at this issue again with regards to gnuplot 4.4. Also, I'm pretty sure that the "stuck lines" problem in which the characteristics of a line resembles that of a previous plot, e.g.:
demo polar
demo waterfall
is related to this. This hunk of code:
is assigned a line type to indeces, e.g.,
However, the difference betwen linetype and "style line" is that linetype is persistent. Those are not reset with the "reset" command. The way that Octave is using gnuplot, where it essential resets and then redefines all variables with a plot, might work better using just "style line" if possible. Maybe that would stay 4.4 compatible that way too. Again, I look at this in a couple weeks.
|
Sat 11 Jun 2016 12:02:55 AM UTC, comment #6:
this is now fixed for me.
hg id = 09583900661b
|
Fri 10 Jun 2016 10:31:42 PM UTC, comment #5:
I think it is not unreasonable to require gnuplot 5+ for
octave 4.1.+ (gnuplot 5.0.1 was released in july 2015).
Dmitri.
--
|
Fri 10 Jun 2016 10:27:47 PM UTC, comment #4:
I reversed part of cset 21809 so that a line is not always drawn. See http://hg.savannah.gnu.org/hgweb/octave/rev/09583900661b.
|
Fri 10 Jun 2016 10:16:17 PM UTC, comment #3:
The cset that introduced this is 21809:b2f1f4cf1389.
|
Fri 10 Jun 2016 09:45:28 PM UTC, comment #2:
x = 2 * pi * rand (1, 200);
y = sin (x) + sin (2 * x) + 0.2 * randn (size (x));
scatter(x,y) does not work.
scatter(x,y,[]) does not work
scatter(x,y,[],[]) does not work
scatter(x,y,[],x) does work
scatter(x,y,[],y) does work
scatter (x, y, [], rand(200,1))
scatter (x, y, [], 1.25*ones(200,1))
x = randn (100, 1);
y = randn (100, 1);
scatter (x, y) works
|
Fri 10 Jun 2016 09:38:41 PM UTC, comment #1:
Confirmed. There has been a lot of work recently on the gnuplot backend. I'm sure this is a temporary hiccup. I'm adding Dan Sebald to the CC list since he probably knows why this is happening.
|
Fri 10 Jun 2016 09:01:25 PM UTC, original submission:
With recent 4.1.0+ and gnuplot backend all simbol or dot plots will
also include a line.
I.e. plot (x,y, ".") looks the same as plot (x,y,"-.")
graphics_toolkit gnuplot
x=y=linspace(1,10,10);
plot (x,y, "o")
plot (x,y, "-o")
plot (x,y, "o")
plot (x,y, ".")
This works fine with octave 4.0.2 (any backend) and with 4.1.0+
with GL backends.
Dmitri.
--
|