[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Not able to print to pdf
From: |
Ben Abbott |
Subject: |
Re: Not able to print to pdf |
Date: |
Fri, 16 Mar 2012 19:25:14 -0400 |
On Mar 16, 2012, at 6:42 PM, mbruce wrote:
> I'm sorry, this has probably been covered, but I'm having no luck finding a
> solution after an hour of searching. I'm using Octave Ver 3.6.0 with
> Windows XP, and not able to create a pdf from a plot. If I use the
> following code:
>
> figure(1)
> semilogx(freq,normatt)
> title('SPL vs. Frequency, 16kHz')
> xlabel('Frequency')
> ylabel('dB')
> axis([100,16000,-12,3])
> legend('On Axis','5 Deg','10 Deg','15 Deg','20 Deg','25 Deg','30 Deg','35
> Deg','40 Deg','45 Deg','50 Deg','55 Deg','60 Deg','65 Deg','70 Deg','75
> Deg','80 Deg','85 Deg','90 Deg','Location','SouthEastOutside')
> print figure1.pdf
>
> My figure plots, but no file is created. If I change the file extension as
> follows: figure1.gif, then I have a gif file created. I really need to make
> a pdf out of this data... Please help.
>
> Thank you,
>
> Mike
Please add "-debug" to the print statement and tell us what the result is.
print -debug figure1.pdf
Ben