[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Greek letter "mu" printed as infinity in pdf
From: |
Tatsuro MATSUOKA |
Subject: |
Re: Greek letter "mu" printed as infinity in pdf |
Date: |
Thu, 21 Mar 2013 15:44:15 +0900 (JST) |
--- On Thu, 2013/3/21, Forrest Gasdia wrote:
> Hello all,
>
> I want to use the Greek letter mu in an octave plot title. The plot gets
> printed to a pdf but in the pdf the mu is actually an infinity symbol. I also
> try to print a lower case sigma and it displays properly. Here is a minimum
> working example which includes everything I think might be relevant (a pdf of
> the output is also attached):
>
> #MWE
>
> clear all;
>
> set(gcf, 'renderer', 'painters'); figure(gcf);
> set(0,"defaultaxesfontname","Helvetica");
> set(0,"defaulttextfontname","Helvetica");
>
> A = rand(50,1);
>
> #Create histogram of each plot
> clf ();
>
> hist(A,25);
> str = sprintf("\\mu=%.4f, \\sigma=%.4f",mean(A),std(A));
> title(str);
> set(gca, 'xtick', [0:.1:1]);
>
> print -dpdf test_plot;
In my system (win7 64bit), "mu" printed as "mu" in pdf as expected in the
attachment file. The Pdf viewer is Adobe Reader X.
I think that problem lies in font setting in your system but not octave.
Regards
Tatsuro
Re: Greek letter "mu" printed as infinity in pdf, vathomas, 2013/03/21
Re: Greek letter "mu" printed as infinity in pdf, Maynard Wright, 2013/03/21