[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: symbols size doubled from 3.1.51 to 3.1.52
From: |
Francesco Potorti` |
Subject: |
Re: symbols size doubled from 3.1.51 to 3.1.52 |
Date: |
Mon, 23 Feb 2009 16:32:12 +0100 |
>When producing a PNG or SVG plot with Octave, the symbols size doubles
>switching from 3.1.51 to 3.1.52.
>
>I dumped the gnuplot output, and in fact I see instructions like this:
>
> set style line 3 linecolor rgb "#000000"
> linewidth 2.000000 pointsize 2.000000;
>
>while the same plot in 3.1.51 produces
>
> set style line 3 linecolor rgb "#000000"
> linewidth 2.000000 pointsize 1.000000;
>
>Is this change intentional?
>
>If not, I'll try to setup a bug report or even to debug it myself.
The patch is in very fact simple, and brings back the symbol size to what
used to be before 3.1.52. Unless I am missing something here, this is a
regression.
--- /usr/share/octave/3.1.52/m/plot/__go_draw_axes__.m~ 2009-02-21
11:08:47.000000000 +0100
+++ /usr/share/octave/3.1.52/m/plot/__go_draw_axes__.m 2009-02-23
16:30:09.000000000 +0100
@@ -594,7 +594,7 @@
usingclause{data_idx} = sprintf ("record=%d", numel (obj.xdata));
if (isfield (obj, "markersize"))
- mdat = obj.markersize / 3;
+ mdat = obj.markersize / 6;
endif
if (isfield (obj, "edgecolor"))
@@ -1320,7 +1320,7 @@
endif
if (isfield (obj, "markersize"))
- fprintf (plot_stream, " pointsize %f", obj.markersize / 3);
+ fprintf (plot_stream, " pointsize %f", obj.markersize / 6 );
found_style = true;
endif
else
--
Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR Fax: +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa Email: address@hidden
(entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/