bugGNU Octave - Bugs: bug #46409, setting AxisLocation for pcolor

 
 

bug #46409: setting AxisLocation for pcolor

Submitted by:  ederag <ederag>
Submitted on:  Mon 09 Nov 2015 08:25:41 PM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: ConfirmedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Sun 28 Feb 2016 04:21:38 PM UTC, comment #6:

Confirmed. I tested with gnuplot 5.0.1 and 4.6.6 and see the same results.

Rik <rik5>
Project Administrator
Wed 11 Nov 2015 09:18:46 AM UTC, comment #5:

So it ought to work. But it doesn't right now when inserted in the debug file, attached.

(file #35433)

ederag <ederag>
Tue 10 Nov 2015 09:55:52 PM UTC, comment #4:

A related feature request on the gnuplot bug tracker
https://sourceforge.net/p/gnuplot/feature-requests/356/

ederag <ederag>
Tue 10 Nov 2015 08:49:52 PM UTC, comment #3:

For gnuplot-4.6.6 a second y-axis is not possible:

p.170: "splot provides only a single x, y, and z axis; there is no equivalent to the x2 and y2 secondary axes provided
by plot."

For gnuplot-5.0.1 this is less clear. The sentence is still in the doc.

But adding "set link x" (cf. gnuplot 5.0 doc, p.135) to the commands removes the error, but the tic labels are not drawn.
This is understandable since the y2 mimics the y, which is not set. The y2 commands are probably ignored.

ederag <ederag>
Mon 09 Nov 2015 08:53:51 PM UTC, comment #2:

Well... With gnuplot-4.6.6 there is no error, but the ticks and labels disappear...

ederag <ederag>
Mon 09 Nov 2015 08:48:17 PM UTC, comment #1:

This happens with gnuplot 5.0.1.
With gnuplot 4.6.6 it works fine.

Maybe it is related to
http://stackoverflow.com/a/26737333/3565696

ederag <ederag>
Mon 09 Nov 2015 08:25:41 PM UTC, original submission:

Trying to set the AxisLocation for a "3D" plot like pcolor fails with gnuplot:

The error message comes from the gnuplot's ./src/plot3d.c:
"""
if ((axis_array[SECOND_X_AXIS].ticmode && !axis_array[SECOND_X_AXIS].linked_to_primary)
|| (axis_array[SECOND_Y_AXIS].ticmode && !axis_array[SECOND_Y_AXIS].linked_to_primary))
int_error(NO_CARET,
"Secondary axis must be linked to primary axis in order to draw tics");
}

eval_3dplots();
"""

ederag <ederag>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #35433:  octave-print-commands.log added by ederag (9KiB - text/x-log - gnuplot file, with inserted set link)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by ederag (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 28 Feb 2016 04:21:38 PM UTCrik5StatusNone=>Confirmed
    Wed 11 Nov 2015 09:18:46 AM UTCederagAttached File-=>Added octave-print-commands.log, #35433

    Back to the top


    Powered by Savane 3.1-cleanup1