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

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

[Octave-bug-tracker] [bug #32311] text command differs between graphics_


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #32311] text command differs between graphics_tookits
Date: Thu, 03 Feb 2011 06:25:59 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110107 Iceweasel/3.5.16 (like Firefox/3.5.16)

Follow-up Comment #1, bug #32311 (project octave):

I think the behavior of Octave with the fltk graphics toolkit is the same as
Matlab.

I'm not sure what the correct behavior is, or whether Matlab's behavior is
documented anywhere.

In 3.2.4, the behavior seems wrong in that if I do

  line  ## axis limits are now both 0 to 1
  text (2, 2, 'foo')

the line disappears and the text appears in the plot window.  With

  line
  text (0.5, 0.5, 'foo')

the line remains, but the axes limits change to something smaller.

If you think about the text function as a way to annotate an existing plot,
then the Matlab behavior makes some sense.  But Matlab does seem to have the
additional restriction of omitting any text objects outside the axes.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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