Mombu the Programming Forum

Go Back   Mombu the Programming Forum > Programming > colorbar positioning in postscript
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 5th October 00:31
david fanning
External User
 
Posts: 1
Default colorbar positioning in postscript



jesscobrien@gmail.com writes:


Say what!? :-(

Here is how I do this, assuming I have just displayed my
graphics in a window on my display to see how it all looks,
with my graphics display command DoMyThingHere:

; Set up PS with same aspect as display window
keywords = PSConfig(_Extra=PSWindow(), CANCEL=cancelled)
IF ~cancelled THEN BEGIN
thisDevice = !D.Name
thisFont = !P.Font
!P.Font = 1
Set_Plot, 'PS'
Device, _Extra=keywords
DoMyThingHere
Device, /Close
!P.Font = thisFont
Set_Plot, thisDevice
ENDIF

Perhaps this is a problem with how DoMyThingHere is

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.")
  Reply With Quote


 


Reply


Thread Tools
Display Modes




666