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

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

[Octave-bug-tracker] [bug #59274] fplot(): passed line title is not show


From: Martin Castillo
Subject: [Octave-bug-tracker] [bug #59274] fplot(): passed line title is not shown in legend.
Date: Thu, 15 Oct 2020 05:52:49 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0

URL:
  <https://savannah.gnu.org/bugs/?59274>

                 Summary: fplot(): passed line title is not shown in legend.
                 Project: GNU Octave
            Submitted by: castilma
            Submitted on: Thu 15 Oct 2020 09:52:47 AM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 5.2.0
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

When typing
```
fplot(@sin, [0 3], 'DisplayName', 'mysin');
```
or
```
fplot(@sin, [0 3], '+;mysin;');
```
I expect the legend title to be 'mysin', and not the default name 'sin'.

The doc says:
```
Multiple property-value pairs may also be specified, but they must
appear in pairs.  These arguments are applied to the line objects
drawn by ‘plot’.
```
So at least the first version should work.

And I don't see, why the second one shouldn't work.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59274>

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




reply via email to

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