[Top][All Lists]

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

[Octave-bug-tracker] [bug #52589] case of multiplot working in 4.0, but

From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #52589] case of multiplot working in 4.0, but not in 4.2
Date: Tue, 5 Dec 2017 18:14:33 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #8, bug #52589 (project octave):

I ran drawnow() and the obvious problem is the following:

plot "-" binary array=1074x775 scan=yx origin=(1,1) dx=1 dy=1 using 1 title ""
with image; \
if (GPVAL_TERM eq "qt") unset obj 1;
plot "-" binary format='%float64' record=58 using ($1):($2) axes x1y1 title
"truth points" with points linestyle 10 \

That clearly makes no sense: can't continue a line which is a complete
command.  I suppose the mixing of image and non-image data wasn't fully
exercised after some things having been changed regarding images.  I can't
recall or deduce why the image should be drawn in it's own plot command while
the other data is separate.  Probably has something to do with the fact that
gnuplot won't draw the background image in the right order for Qt terminal. 
Whatever the case, I'm attaching a changeset that moves the "unset obj 1"
prior to all plot commands, gets rid of the semicolon for image plots, and
generally simplifies the code.  

Consider this an alpha patch that we will try for a few days.  "demo image"
and "demo plot" work for me.  The "bug" demo works, gnuplot and fltk toolkits
producing a similar result--but perhaps the layout isn't quite the same as
shown in the original attached PNG.

(file #42575)

Additional Item Attachment:

File name: octave-gnuplot_tk_image_nonimage-djs2017dec05.patch Size:4 KB


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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