octave-maintainers
[Top][All Lists]
Advanced

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

Re: plot and image demos (growing window)


From: Rik
Subject: Re: plot and image demos (growing window)
Date: Mon, 01 Jun 2009 18:11:34 -0700
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

>> The problem definitely seems to be gnuplot related.  For gnuplot version
>> 4.2.2, revision 9097 works.  For gnuplot version 4.2.5, revision 9097
>> fails.  4.3 won't compile on my Hardy Heron box.  I suppose we could try
>> to work-around their bug if we could figure out how we are triggering it
>> or we will simply have to let it pass as being outside of Octave.
>
> I'm not saying there isn't a bug in gnuplot, but I'm still trying to
> understand what the method is for controlling the size of the x11
> window and/or mouse.  (Unfortunately, savanah server isn't working so
> that I can view the latest code.)
>
> There is too much in between Octave and gnuplot to conclude this is a
> gnuplot bug based on your observation.  
I really wasn't trying to conclude definitively who was at fault but
with both code bases changing simultaneously it is difficult (and
possibly not worthwhile) to discover where the fault lies.  In
particular, for gnuplot 4.2.2, things break between Octave versions 9097
and 9098.  For gnuplot 4.2.5 and 4.3.0, however, the breakage occurs
between Octave versions 8223 and 8224.  I already sent the debug.gp
files for gnuplot 4.2.2.  Attached are different debug.gp files for the
breakage between 8223 and 8224.  The difference is the addition in 8224
of the following preamble lines:
> set multiplot;
> set origin 0, 0
> set size 1, 1

According to the log these changes were done to make the postscript
bounding box accurate.
changeset:   8224:62d90e049d4f
user:        David Bateman <address@hidden>
date:        Thu Oct 16 10:31:37 2008 +0100
summary:     Always use multiplot with gnuplot to ensure correct
postscript bounding box


--Rik
set terminal x11 enhanced;
set output "/dev/null";

reset;
set autoscale fix;
set tmargin 0;
set bmargin 0;
set lmargin 0;
set rmargin 0;
set origin 0.13, 0.11;
set size 0.775, 0.815;
set size noratio;
unset label;
unset title;
unset xlabel;
unset x2label;
unset ylabel;
unset y2label;
unset zlabel;
set grid noxtics;
set grid noytics;
set grid noztics;
set grid nomxtics;
set grid nomytics;
set grid nomztics;
set grid layerdefault;
unset grid;
set format x "%g";
set xtics border in mirror textcolor rgb "#000000" font "Helvetica,12";
unset x2tics;
set format y "%g";
set ytics border in mirror textcolor rgb "#000000" font "Helvetica,12";
unset y2tics;
set format z "%g";
set ztics border in mirror textcolor rgb "#000000" font "Helvetica,12";
unset logscale x;
unset logscale y;
unset logscale z;
set style line 1 default;
set style line 1 linecolor rgb "#0000ff" linewidth 0.500000 pointsize 1.000000;
set pm3d implicit;
set hidden3d;
set xrange [0.000000000000000e+00:1.000000000000000e+01] noreverse;
set yrange [0.000000000000000e+00:1.000000000000000e+01] noreverse;
set cbrange [0:1];
set border 431;
set border lw 0.500000;
unset key;
set style data lines;
set palette positive color model RGB maxcolors 64;
set palette file "-" binary record=64 using 1:2:3:4;
address@hidden@@‚ address@hiddenaddress@hidden@address@hidden<€? 
A%I’=€?0A£(
>address@hidden,K>€?PAb†>€?`Ajš¦>€?pArÇ>€?€Azžç>€?ˆAA?€?AEQ?€?˜AI’$?€?
> 
>AMÓ4?€?¨AQE?€?°AUUU?€?¸AY–e?€?ÀA]×u?€?ÈA1
>
>Ã<€?žçy?ÐA-˲=€?š¦i?ØA§i>€?–eY?àA·m[>€?’$I?èAä8Ž>€?Žã8?ðA캮>€?Š¢(?øAô<Ï>€?†a?Bü¾ï>€?‚
> ?B‚ ?€?ü¾ï>B†a?€?ô<Ï>
>BŠ¢(?€?캮>BŽã8?€?ä8Ž>B’$I?€?·m[>B–eY?€?§i>Bš¦i?€?-˲=
> Bžçy?€?1
>Ã<$B€?]×u?(B€?Y–e?,B€?UUU?0B€?QE?4B€?MÓ4?8B€?I’$?<address@hidden>HB€?rÇ>LB€?jš¦>PB€?b†>TB€?³,K>XB€?£(
>\B€?%I’=`B€?!<dBÇq?hB†a?lBEQ?pBA?tB
>Ã0?xB‚ ?|BA?€B?
unset colorbox;
plot "-" binary format='%float64' record=10 using ($1):($2) axes x1y1 title "" 
with lines linestyle 1 \
;
address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@
 @ @"@"@address@hidden@
set terminal x11 enhanced;
set output "/dev/null";

reset;
set autoscale fix;
set multiplot;
set origin 0, 0
set size 1, 1
set tmargin 0;
set bmargin 0;
set lmargin 0;
set rmargin 0;
set origin 0.13, 0.11;
set size 0.775, 0.815;
set size noratio;
unset label;
unset title;
unset xlabel;
unset x2label;
unset ylabel;
unset y2label;
unset zlabel;
set grid noxtics;
set grid noytics;
set grid noztics;
set grid nomxtics;
set grid nomytics;
set grid nomztics;
set grid layerdefault;
unset grid;
set format x "%g";
set xtics border in mirror textcolor rgb "#000000" font "Helvetica,12";
unset x2tics;
set format y "%g";
set ytics border in mirror textcolor rgb "#000000" font "Helvetica,12";
unset y2tics;
set format z "%g";
set ztics border in mirror textcolor rgb "#000000" font "Helvetica,12";
unset logscale x;
unset logscale y;
unset logscale z;
set style line 1 default;
set style line 1 linecolor rgb "#0000ff" linewidth 0.500000 pointsize 1.000000;
set pm3d implicit;
set hidden3d;
set xrange [0.000000000000000e+00:1.000000000000000e+01] noreverse;
set yrange [0.000000000000000e+00:1.000000000000000e+01] noreverse;
set cbrange [0:1];
set border 431;
set border lw 0.500000;
unset key;
set style data lines;
set palette positive color model RGB maxcolors 64;
set palette file "-" binary record=64 using 1:2:3:4;
address@hidden@@‚ address@hiddenaddress@hidden@address@hidden<€? 
A%I’=€?0A£(
>address@hidden,K>€?PAb†>€?`Ajš¦>€?pArÇ>€?€Azžç>€?ˆAA?€?AEQ?€?˜AI’$?€?
> 
>AMÓ4?€?¨AQE?€?°AUUU?€?¸AY–e?€?ÀA]×u?€?ÈA1
>
>Ã<€?žçy?ÐA-˲=€?š¦i?ØA§i>€?–eY?àA·m[>€?’$I?èAä8Ž>€?Žã8?ðA캮>€?Š¢(?øAô<Ï>€?†a?Bü¾ï>€?‚
> ?B‚ ?€?ü¾ï>B†a?€?ô<Ï>
>BŠ¢(?€?캮>BŽã8?€?ä8Ž>B’$I?€?·m[>B–eY?€?§i>Bš¦i?€?-˲=
> Bžçy?€?1
>Ã<$B€?]×u?(B€?Y–e?,B€?UUU?0B€?QE?4B€?MÓ4?8B€?I’$?<address@hidden>HB€?rÇ>LB€?jš¦>PB€?b†>TB€?³,K>XB€?£(
>\B€?%I’=`B€?!<dBÇq?hB†a?lBEQ?pBA?tB
>Ã0?xB‚ ?|BA?€B?
unset colorbox;
plot "-" binary format='%float64' record=10 using ($1):($2) axes x1y1 title "" 
with lines linestyle 1 \
;
address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@
 @ @"@"@address@hidden@unset multiplot;

reply via email to

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