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

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

[Octave-bug-tracker] [bug #54035] "tab" character is ignored in strings


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #54035] "tab" character is ignored in strings in plot
Date: Sat, 2 Jun 2018 06:00:53 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0

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

                 Summary: "tab" character is ignored in strings in plot
                 Project: GNU Octave
            Submitted by: mmuetzel
            Submitted on: Sat 02 Jun 2018 10:00:52 AM UTC
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: In Progress
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

Originally reported on the mailing list. [1]
When adding strings to plots, any "tab" characters are ignored and a warning
is displayed.
Example:

clf;
axes ();
var=456;
str= sprintf ('Signal\t\tMaxFreq\nnextline\t%d', var);
annotation ('textbox', ...
  [0.15 0.65 0.3 0.15], ...
  'String', {str}, ...
  'FontSize', 14, ...
  'FontName', 'Arial', ...
  'LineStyle', '--', ...
  'EdgeColor', [1 1 0], ...
  'LineWidth', 2, ...
  'BackgroundColor', [0.9  0.9 0.9], ...
  'Color', [0.84 0.16 0]);


I'll push a patch as soon as I have a bug number.

[1]:
http://octave.1599824.n4.nabble.com/How-can-I-add-tabs-to-strings-in-Octave-plot-td4688166.html




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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