bugGNU Octave - Bugs: bug #42271, Bug #36744 appears to have...

 
 

bug #42271: Bug #36744 appears to have returned (underscore displays as \_)

Submitter:  Glenn Golden <grepfor>
Submitted:  Fri 02 May 2014 11:29:38 PM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Duplicate Assigned to:  None
Originator Name:  Glenn Golden Open/Closed:  * Closed
Release:  * 3.8.1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 03 May 2014 09:34:32 PM UTC, comment #4: 

Then reopen the old bug report, don't start a new one.

Jordi GutiƩrrez Hermoso <jordigh>
Group Member
Sat 03 May 2014 02:44:38 AM UTC, comment #3: 

Ok, thanks for clarifying. So you're expecting to see the label rendered as "foo_bar" for both toolkits with interpreter set to "none".

Confirming that this worked in 3.6.4 and shows a backslash in gnuplot in 3.8.0 and 3.8.1.

Mike Miller <mtmiller>
Group Member
Fri 02 May 2014 11:49:40 PM UTC, comment #2: 

My .octaverc sets the 'DefaultTextInterpreter' property to 'none'. (That's why I explicitly showed the setting of 'interpreter' in the example, so that you could try to duplicate it with the interpreter disabled.)

If I run it with --norc, then I get subscripted 'b', but that is as expected.

In other words: The problem occurs only with interpreter = none.

Glenn Golden <grepfor>
Fri 02 May 2014 11:41:29 PM UTC, comment #1: 

I get a subscript 'b' in both plot examples in 3.8.1. I also get the interpreter property as "tex" which I believe is supposed to be the default now.

Do you have an octaverc that might be affecting this? Do you see the same results if you run Octave with --norc?

Mike Miller <mtmiller>
Group Member
Fri 02 May 2014 11:29:38 PM UTC, original submission:  

The comments pertaining to Bug #36744 indicate that it was fixed in April 2012.  But in 3.8.1 it appears to still be present:




> version
ans = 3.8.1
> graphics_toolkit('fltk');
> figure(1);
> plot(1:6,1:6);
> text(2,3,'foo_bar')             # Displays as "foo_bar"
> get(h, 'interpreter')
ans = none

> graphics_toolkit('gnuplot');
> figure(2);
> plot(1:6,1:6);
> h = text(2,3,'foo_bar')         # Displays as "foo\_bar"
> get(h, 'interpreter')
ans = none




Gnuplot version is 4.6, patchlevel 5. System = arch linux, synched to repos less than 1 week ago.

I do not know in what version of Octave this behavior re-appeared.

Glenn Golden <grepfor>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #31300:  examp.m added by grepfor (262B - application/octet-stream)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jordigh (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by grepfor (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 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-05-03 jordigh StatusConfirmed Duplicate
        Open/ClosedOpen Closed
        SummaryBug #36744 appears to have returned (underscore displays as \\_) Bug #36744 appears to have returned (underscore displays as \_)
        Dependencies- Depends on bugs #36744
    2014-05-03 mtmiller StatusNeed Info Confirmed
        SummaryBug #36744 appears to have returned (underscore displays as \\_) Bug #36744 appears to have returned (underscore displays as \_)
    2014-05-02 mtmiller StatusNone Need Info
        SummaryBug #36744 appears to have returned (underscore displays as \\_) Bug #36744 appears to have returned (underscore displays as \_)
    2014-05-02 grepfor Attached File- Added examp.m, #31300

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code