help-octave
[Top][All Lists]
Advanced

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

Re: Looking for fix or work around for Multi-line title plot export in O


From: Pantxo
Subject: Re: Looking for fix or work around for Multi-line title plot export in Octave 4.0
Date: Tue, 28 Mar 2017 09:23:16 -0700 (PDT)

RT wrote
> clf(1);
>  plot (1:10, 1:10, 1:10, fliplr (1:10));
>  title ({"Use properties to place legend text to the left of key", ...
>          "Legend text color is magenta"});
>  h = legend ({"I am blue", "I am orange"}, "location", "east");
>  legend ("right");
>  set (h, "textposition", "left");
>  set (h, "textcolor", [1 0 1]);
>  print(figure(1),'/tmp/test.jpg');
> 
> The title looks correct on the screen but when it's exported as an image
> to
> a file the titles shows on only one line (the newline in the title does
> not
> work is their a work around?)  see attached image of what is exported to
> the file.
> 
> I'm using Octave 4.0 Ubuntu 64bit
> 
> _______________________________________________
> Help-octave mailing list

> Help-octave@

> https://lists.gnu.org/mailman/listinfo/help-octave
> 
> 
> title_multiline_not_working.jpg (66K)
> <http://octave.1599824.n4.nabble.com/attachment/4682642/0/title_multiline_not_working.jpg>

Hi,

You either need to use gnuplot graphics_toolkit or Octave 4.2.

Pantxo 



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Looking-for-fix-or-work-around-for-Multi-line-title-plot-export-in-Octave-4-0-tp4682642p4682645.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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