bugGNU Octave - Bugs: bug #52725, text() expects different signs for...

 
 

bug #52725: text() expects different signs for semilogy() and plot() for negative data

Submitter:  Stefan Großhauser <stegrobt>
Submitted:  Fri 22 Dec 2017 11:40:46 AM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Works For Me Assigned to:  None
Originator Name:  Stefan Großhauser Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 22 Dec 2017 07:06:31 PM UTC, comment #1: 

All of these examples work for me.  This is with the FLTK toolkit and hg id 24451:0c69f0335e1a (from today, 12/22/17).

Rik <rik5>
Group administrator
Fri 22 Dec 2017 11:40:46 AM UTC, original submission:  



# does not matter
graphics_toolkit("fltk");
graphics_toolkit("gnuplot");

# shows the text:
x = 0:0.1:10;plot (x, -(abs(10*sin (x))+eps));text (pi, -0.7, "arbitrary text");

# does NOT show the text:
x = 0:0.1:10;plot (x, -(abs(10*sin (x))+eps));text (pi, +0.7, "arbitrary text");

##### now the unexpected part:
# does NOT show the text and no box drawn:
# (expected: shows the text and draws the box)
x = 0:0.1:10;semilogy (x, -(abs(10*sin (x))+eps));text (pi, -0.7, "arbitrary text");

# shows the text (but should not):
x = 0:0.1:10;semilogy (x, -(abs(10*sin (x))+eps));text (pi, +0.7, "arbitrary text");


Stefan Großhauser <stegrobt>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by stegrobt (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-12-26 rik5 Open/ClosedOpen Closed
    2017-12-22 rik5 StatusNone Works For Me

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code