bugGNU Octave - Bugs: bug #34888, legend location outside

 
 

bug #34888: legend location outside

Submitter:  Jan Schmidt <jan_bei_gnu>
Submitted:  Thu 24 Nov 2011 12:48:12 PM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Jan Schmidt Open/Closed:  * Closed
Release:  * 3.4.3 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 30 Nov 2011 11:08:59 AM UTC, comment #5: 

I installed gnuplot 4.4.4 and it works.
Thank you for the solution.

Jan Schmidt <jan_bei_gnu>
Wed 30 Nov 2011 04:57:28 AM UTC, comment #4: 

This is an issue with gnuplot 4.2.6.  I also run Ubuntu 10.04 and I have both gnuplot 4.2.6 and gnuplot 4.4.0 installed.  An "outside" legend works with 4.4.0 but not with 4.2.6.

Try installing a newer version of gnuplot through a ppa or downloading and building from source to resolve the issue.

Rik <rik5>
Group administrator
Mon 28 Nov 2011 01:36:49 PM UTC, comment #3: 

Please take a look at the attached :&nbsp; screenshot.png
Jan

Jan Schmidt <jan_bei_gnu>
Mon 28 Nov 2011 01:28:29 PM UTC, comment #2: 

I use octave version 3.4.3 on a Ubuntu 10.04 LTS - Lucid Lynx system. The version of gnuplot is 4.2 patchlevel 6.

Jan

Jan Schmidt <jan_bei_gnu>
Fri 25 Nov 2011 10:17:15 PM UTC, comment #1: 

Your example works for me. What version are you using?

M.

Muhali <muhali>
Thu 24 Nov 2011 12:48:12 PM UTC, original submission:  

Hallo,

I think I have an incorrect result of the legend command.
I want to place the legend outside of my graphic and use the following code. But the legend is placed inside the graphic.

Best regards

Jan


plot([1:10],[1:10],"b");
hold on;
plot([1:10],[2:11],"r");
legend("leg1","leg2","location","eastoutside");


Jan Schmidt <jan_bei_gnu>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #24485:  screenshot.png added by jan_bei_gnu (8KiB - image/png)

 

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 jan_bei_gnu (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-11-30 rik5 StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2011-11-28 jan_bei_gnu Attached File- Added screenshot.png, #24485

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code