Re: IDL8.0 plot() function : how to plot to PS file like with DG "Set_Plot"? [message #72623 is a reply to message #72511] |
Wed, 22 September 2010 11:13   |
Matt Haffner
Messages: 34 Registered: October 2000
|
Member |
|
|
I have the same issue on OS X: all my text and plot symbols are
slightly scaled up when saving a NG to PDF (compared to the display).
However, if I print and "Save to PDF..." in the standard OS X print
dialog box, I get a PDF with no scaling; the layout matches my screen
display.
mh
On Sep 20, 6:06 pm, David Fanning <n...@dfanning.com> wrote:
> Chris Torrence writes:
>> Well, hopefully we are lowering the "hurt factor" for graphics,
>> especially for new users.
>
> I agree you are heading in the right direction. :-)
>
>> David, do you have a simple reproduce case that shows the legend
>> leaking out of its box?
>
> It was pretty simple code.
>
> ;**************************************************
> x = FINDGEN(200)
> y = FINDGEN(100)+5
> plot0 =PLOT(x*COS(x/10), x*SIN(x/10), 'b', $
> NAME='FirstPlot')
> plot1 =PLOT(y*COS(y/5), y*SIN(y/5), 'r', $
> NAME='SecondPlot', /OVERPLOT)
> leg = legend(target=[plot0, plot1], linestyle=0)
> ;leg = legend(target=[plot0, plot1], $
> ; horizontal_spacing=0.1, linestyle=0)
> end
> ;*************************************************
>
> I'm running this on Windows 64-bit OS. All I did was
> create theplotand then I saved it as a PDF file.
> I opened it with Adobe Acrobat 9, latest version.
> The "SecondPlot" is extending outside the legendboundaries.
>
> I put a picture here, if you want it:
>
> http://www.dfanning.com/misc/idl.pdf
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|