comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL8.0 plot() function : how to plot to PS file like with DG "Set_Plot"?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL8.0 plot() function : how to plot to PS file like with DG "Set_Plot"? [message #72511 is a reply to message #72415] Mon, 20 September 2010 16:06 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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='First Plot')
plot1 = PLOT(y*COS(y/5), y*SIN(y/5), 'r', $
NAME='Second Plot', /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 the plot and then I saved it as a PDF file.
I opened it with Adobe Acrobat 9, latest version.
The "Second Plot" is extending outside the legend
boundaries.

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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL 8.0 Barplot can not generate Log X axis
Next Topic: Image and Maps with IDL8

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 20:07:11 PDT 2025

Total time taken to generate the page: 0.01840 seconds