bugGNU Octave - Bugs: bug #40269, Gnuplot windows terminal: ylabel...


bug #40269: Gnuplot windows terminal: ylabel is not rotated parallel to y-axis

Submitted by:  Philip Nienhuis <philipnienhuis>
Submitted on:  Mon 14 Oct 2013 06:57:16 PM UTC  
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: ConfirmedAssigned to: None
Originator Name: Philip NienhuisOpen/Closed: Open
Release: devOperating System: Microsoft Windows

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Thu 05 Feb 2015 05:57:06 AM UTC, comment #5:

I can confirm that the "rotation" property does not work with text objects using gnuplot with the windows terminal. This includes axis labels, which are also text objects.

Specifically, the following works perfectly with the fltk and qt toolkits, but not gnuplot:

The value of the property is correct, but gnuplot does not draw it rotated.

Mike Miller <mtmiller>
Project Member
Fri 12 Sep 2014 07:36:45 AM UTC, comment #4:

The workaround mentiones by Jonas helps for "single" plots, like
plot([1:10]); ylabel('test');

But, I am still facing this bug in subplots, which is pretty annoying.

I am using Octave 3.8.2 on Win 7.

Anything I can do to solve this?

Thu 15 May 2014 03:53:10 PM UTC, comment #3:

I have experienced the same problem.
But the y-label is set correctly as soon as I enable the Oversampling option in the plot window. (Make permanent with Options->Update .../wgnuplot.ini) The Double Buffer Option seems to have an influence too.

I do not currently see what Gnuplot terminal is being used, since getenv('GNUTERM') does not yield anything.
Is this a Gnuplot bug?

Octave 3.8.1 from Untouched MXE Builds (April 28th 2014) with Gnuplot Version 4.6 patchlevel 4 on Windows.

Jonas Hagen <jonashagen>
Tue 15 Oct 2013 06:51:25 PM UTC, comment #2:

The gnuplot in MXE build is "Version 4.6 patchlevel 1".

The gnuplot in Michael's 3.7.2+ MSVC snapshot (that isn't affected by this bug) is "Version 4.4 patchlevel 4".

In the newest mxe it is still 4.6.1.

Philip Nienhuis <philipnienhuis>
Project Member
Tue 15 Oct 2013 04:31:54 PM UTC, comment #1:

Is it possible that there is a difference in gnuplot versions between the mingw and Linux machines?

Code does work correctly on a Linux machine with gnuplot 4.6.2.

Rik <rik5>
Project Administrator
Mon 14 Oct 2013 06:57:16 PM UTC, original submission:

ylabel isn't rotated parallel to y-axis - see attached plot.

I see this bug only on mingw (MXE) native & cross-compiled development versions.
(oldest mingw version here that shows this bug is 3.7.5 from mid-July)

This works OK on my Linux box, and with Michael's Octave-3.7.2 MSVC snapshot binary, and on 3.6.4.
(Probably also a regression)

To reproduce:

graphics_toolkit gnuplot
plot ([0:1])
title ("title") ## not needed
xlabel ("xlabel") ## not needed
ylabel ("ylabel")

Philip Nienhuis <philipnienhuis>
Project Member


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

Attach File(s):

Attached Files
file #29375:  gp_ylabel.png added by philipnienhuis (9kB - image/png)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by jonashagen (Posted a comment)
  • -unavailable- added by philipnienhuis (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 22 Feb 2015 05:57:28 PM UTCmtmillerSummarygnuplot - ylabel is not rotated parallel to Y-axis=>Gnuplot windows terminal: ylabel is not rotated parallel to y-axis
    Thu 05 Feb 2015 05:57:06 AM UTCmtmillerStatusNone=>Confirmed
    Tue 23 Sep 2014 04:26:42 AM UTCrik5Carbon-CopyRemoved 72865=>-
    Mon 14 Oct 2013 06:57:16 PM UTCphilipnienhuisAttached File-=>Added gp_ylabel.png, #29375

    Back to the top

    Powered by Savane 3.1-cleanup