bugGNU Octave - Bugs: bug #49103, gnuplot: set (gcf,...

 
 

bug #49103: gnuplot: set (gcf, "position", ...) not supported in __gnuplot_drawnow__.m

Submitted by:  Tatsuro MATSUOKA <tmacchant>
Submitted on:  Fri 16 Sep 2016 03:08:06 AM UTC  
 
Category: Plotting with gnuplotSeverity: 1 - Wish
Priority: 3 - LowItem Group: Feature Request
Status: ConfirmedAssigned to: None
Originator Name: Tatsuro MATSUOKAOpen/Closed: Open
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 16 Sep 2016 07:45:54 PM UTC, comment #4:

Re-opening and re-titling report.

It seems that gnuplot allows the syntax, but Octave doesn't generate it.

I set a breakpoint in _gnuplot_drawnow_.m and it is triggered by

This is good. It appears that in gnuplot_set_term we aren't executing the part that changes the size and position. That code is protected by

Rik <rik5>
Project Administrator
Fri 16 Sep 2016 07:27:57 PM UTC, comment #3:

If I do in gnuplot:
the second plot shifts to a new position.

Dmitri.

Dmitri A. Sergatskov <dasergatskov>
Fri 16 Sep 2016 05:52:50 PM UTC, comment #2:

Setting the position property on an already open figure doesn't seem to work on the x11 terminal either. I doubt this was ever expected to work.

Mike Miller <mtmiller>
Project Administrator
Fri 16 Sep 2016 04:18:10 PM UTC, comment #1:

I pushed your patch.

Code like this now works

However, once the figure is created I can't change the position.

I don't know whether that is a limitation of gnuplot, or a limitation within _gnuplot_drawnow_. Perhaps that should be reported as a new bug.

Rik <rik5>
Project Administrator
Fri 16 Sep 2016 03:08:06 AM UTC, original submission:

The topic originate from
http://octave.1599824.n4.nabble.com/Minimum-gnuplot-version-for-Octave-4-2-td4679761.html#a4679776

I have made a trial patch to support figure position property for wxt and qt terminal.

The position option for both terminal supported from gnuplot 5.
(Sorry for my mistaken in the original thread.)

I add "wxt_figure_position" and "qt_figure_position" for gnuplot 5 or later into _gnuplot_drawnow_.m.

Tatsuro MATSUOKA <tmacchant>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dasergatskov (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by tmacchant (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 17 Nov 2016 04:16:52 AM UTCmtmillerSeverity3 - Normal=>1 - Wish
      Priority5 - Normal=>3 - Low
      Release4.2.0-rc1=>dev
    Fri 16 Sep 2016 07:45:54 PM UTCrik5StatusFixed=>Confirmed
      Open/ClosedClosed=>Open
      Summaryfigure position property support for qt and wxt terminal on gnuplot_graphics toolkit=>gnuplot: set (gcf, "position", ...) not supported in _gnuplot_drawnow_.m
    Fri 16 Sep 2016 04:18:10 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Fri 16 Sep 2016 03:08:07 AM UTCtmacchantAttached File-=>Added figure_position_qt_wxt.patch, #38521

    Back to the top


    Powered by Savane 3.1-cleanup1