help-octave
[Top][All Lists]
Advanced

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

Re: Octave printing a plot gives black background


From: Dmitri A. Sergatskov
Subject: Re: Octave printing a plot gives black background
Date: Thu, 12 Nov 2015 15:09:08 -0600


When I am using the "gnuplot", it will print the figure with a black
background, so the figure is unusable. This is related to this thread here:
https://savannah.gnu.org/bugs/?42838#comment25


​The short answer is that you should use gnuplot with some of the cairo-based
terminals (pngcairo, pdfcairo, epscairo).

In that case you should be able to write:

xlabel("​λμ")
 
and it would just work. E.g.:

plot(randn(3);
xlabel("​λμ");
ylabel("​λμ");
title("​λμ");
print("test1.pdf", "-dpdfcairo", "-FCambria Math");

(output is attached).

Dmitri.
--


Attachment: test1.pdf
Description: Adobe PDF document


reply via email to

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