[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: |
Fri, 29 May 2009 22:59:50 -0700 |
User-agent: |
Thunderbird 2.0.0.21 (X11/20090318) |
>>>
>>> On May 29, 2009, at 3:55 PM, Rik wrote:
>>>
>>>> 5/29/09
>>>>
>>>> Ben,
>>>>
>>>> I have no idea why it's failing but I at least have isolated when the
>>>> new behavior was introduced. Using Mercurial's bisect command the
>>>> growing window problem was introduced in changeset 9098:5ecdb3d3568f.
>>>>
>>>> The log entry is:
>>>> changeset: 9098:5ecdb3d3568f
>>>> user: Ben Abbott <address@hidden>
>>>> date: Mon Apr 06 18:57:42 2009 -0400
>>>> files: scripts/ChangeLog scripts/plot/__gnuplot_default_font__.m
>>>> scripts/plot/__go_draw_axes__.m scripts/plot/__go_draw_figure__.m
>>>> description:
>>>> Allow fontsize to be specified for all objects with fontname == "*".
>>>>
>>>>
>>>> I tried a simple fix of setting a default font before running 'for
>>>> n=1:100; plot(1:1000); drawnow; end' but it didn't work.
>>>>
>>>> --Rik
>>>
>>> Rik,
>>>
>>> Strange ... most of this changeset was later reverted ... at least
>>> in part.
>>>
>>> http://hg.savannah.gnu.org/hgweb/octave/rev/25cdd6096442
>>>
>>> Regarding the bisect command, I'm unfamiliar with it. Can you show
>>> me how to use it in this instance?
>>>
>>> Ben
>>
>> On second thought, I don't need to duplicate your work, all I really
>> need is a copy of a working plot-stream to compare with the current
>> one.;
>>
>> If you can run the last working version of octave, create a working
>> plot stream ...
>>
>> close all
>> plot (1:10)
>> drawnow ("x11", "/dev/null", false, "debug.gp")
>>
>> Then we can compare the result with the current sources to see what
>> is different.
>>
>> Ben
>
> hmmm ... I'm not very confident in my understanding of mercurial, but
> I did a
>
> hg revert --all -r 9097
>
> make clean
> ./autogen
> configure ...
> make
>
> and then with gnuplot 4.2.5 ran
>
> n=1:100; plot(1:1000); drawnow; end
>
> and the window still grows.
>
> Ben
I used 'hg update -r 9097' but according to the documentation they
should be equivalent. I also used 'make distclean' to clean out not
just the object files but any automatically generated configuration
files. I went ahead and did your exercise and collected two debug
reports which I am attaching.
--Rik
set terminal x11 enhanced title "Figure 1" ;
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 xtics;
unset ytics;
unset ztics;
unset x2tics;
unset x2tics;
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 scale 1.4 mirror textcolor rgb "#000000" font "*,12";
unset mxtics;
unset x2tics;
unset mx2tics;
set format y "%g";
set ytics border in scale 1.4 mirror textcolor rgb "#000000" font "*,12";
unset mytics;
unset y2tics;
unset my2tics;
set format z "%g";
set ztics border in scale 1.4 mirror textcolor rgb "#000000" font "*,12";
unset mztics;
unset logscale x;
unset logscale y;
unset logscale z;
set clip two;
set style line 1 default;
set style line 1 linecolor rgb "#0000ff" linewidth 0.500000 pointsize 2.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@hiddenaddress@hidden@address@hidden<