bugGNU Octave - Bugs: bug #33462, error in plot command, if plot...

 
 

bug #33462: error in plot command, if plot without legend follows plot with legend

Submitted by:  None
Submitted on:  Thu 02 Jun 2011 11:27:14 AM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: Lidia BressanOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.4.0
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 26 Sep 2011 07:09:22 PM UTC, comment #2:

This has been fixed in more recent releases of the stable branch of Octave. Please upgrade to 3.4.2 to have this issue resolved.

Rik <rik5>
Project Administrator
Thu 09 Jun 2011 02:55:45 PM UTC, comment #1:

What about the attached patch? It fixes the problem to me.

Marco

(file #23512)

Marco Caliari <caliari>
Project Member
Thu 02 Jun 2011 11:27:14 AM UTC, original submission:

I get an error (error: structure has no member `fontname') every time I add a plot without legend after a plot with a legend (within the plot command).

This work:

clf; clear
hold on
plot([1:10],[1:2:20])
plot([1:10],[1:2:20].-1,';leg;')

This does not work:

close all; clear
hold on
plot([1:10],[1:2:20].-1,';leg;')
plot([1:10],[1:2:20])

error: structure has no member `fontname'
error: evaluating argument list element number 1
error: called from:
error: /usr/share/octave/3.4.0/m/plot/__go_draw_axes__.m at line 2086, column 3
error: /usr/share/octave/3.4.0/m/plot/__go_draw_axes__.m at line 1475, column 31
error: /usr/share/octave/3.4.0/m/plot/__go_draw_figure__.m at line 167, column 19
error: /usr/share/octave/3.4.0/m/plot/__gnuplot_drawnow__.m at line 86, column 5

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #23512:  __go_draw_axes.m.diff added by caliari (456B - text/x-patch)

 

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 caliari (Updated the item)
  • -unavailable- added by None (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 26 Sep 2011 07:09:22 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 09 Jun 2011 02:55:45 PM UTCcaliariAttached File-=>Added __go_draw_axes.m.diff, #23512

    Back to the top


    Powered by Savane 3.1-cleanup1