octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #33231] adding '; label; ' to plot() generates


From: kloof
Subject: [Octave-bug-tracker] [bug #33231] adding '; label; ' to plot() generates error: structure has no member `fontname'
Date: Wed, 04 May 2011 16:44:34 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Ubuntu/10.10 Chromium/10.0.648.133 Chrome/10.0.648.133 Safari/534.16

URL:
  <http://savannah.gnu.org/bugs/?33231>

                 Summary: adding ';label;' to plot() generates error:
structure has no member `fontname'
                 Project: GNU Octave
            Submitted by: kloof
            Submitted on: Wed 04 May 2011 04:44:33 PM GMT
                Category: Plotting with gnuplot
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

overplotting f(x)=x works with gnuplot without labels:


octave:1> x=linspace(0,3,100) ; y=sin(x) ;plot(x,y)
octave:2> hold on
octave:3> plot(x,x)


but it doesn't work when you add a label ('text' here):


octave:4> x=linspace(0,3,100) ; y=sin(x) ;plot(x,y,';text;')
octave:5> plot(x,x)
error: structure has no member `fontname'
error: evaluating argument list element number 1
error: called from:
error:   /home/kloof/share/octave/3.4.0/m/plot/__go_draw_axes__.m at line
2086, column 3
error:   /home/kloof/share/octave/3.4.0/m/plot/__go_draw_axes__.m at line
1475, column 31
error:   /home/kloof/share/octave/3.4.0/m/plot/__go_draw_figure__.m at line
167, column 19
error:   /home/kloof/share/octave/3.4.0/m/plot/__gnuplot_drawnow__.m at line
86, column 5
octave:6> 


In FLTK this problem does not occur.
My version 3.4.0 is compiled from source on ubuntu 10.10 intel x86_64 




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33231>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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