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

Home » Public Forums » archive » Object Graphics Vector Output
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Object Graphics Vector Output [message #40858] Tue, 14 September 2004 19:30 Go to previous message
Iam A. Lurker is currently offline  Iam A. Lurker
Messages: 3
Registered: September 2004
Junior Member
In the trivial code below, I get two axes of different thickness and I
am not sure why. Has anyone else run into this when using the NOTEXT
keyword with IDLgrAxis?

<grumble>Looking back through my notebook (i.e. 6 months), I seem to
have an awful lot of postscript plots with multiple axes where the
first 'notext' axis ismuch thicker than the others</grumble>

Thanks,
Iam

Linux & OS X; IDL 6.0 & 5.6

--------
oModel = obj_new('IDLgrModel')

; Removing NOTEXT makes the axes the same thickness?!?
oXAxis1 = obj_new('IDLgrAxis', 0, /NOTEXT, THICK=1, TICKLEN=0.02)
oYAxis1 = obj_new('IDLgrAxis', 1, /NOTEXT, THICK=1, TICKLEN=0.02)

oModel -> Add, oXAxis1
oModel -> Add, oYAxis1

oView = obj_new('IDLgrView', viewplane_rect=[-0.5,-0.5,2,2])
oView -> add, oModel

oWindow = obj_new('IDLgrWindow', GRAPHICS_TREE=oView,
DIMENSIONS=[500,500])
oWindow -> erase
oWindow -> draw

oClip = obj_new('IDLgrClipboard', GRAPHICS_TREE=oView, UNITS=2, $
DIMENSIONS=[15,15], resolution=[0.01,0.01])
oClip -> draw, filename='test.eps', postscript=1, vector=1

end
--------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PV-wave into VMS?
Next Topic: Re: writing to a specific directory

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

Current Time: Wed Oct 08 15:53:20 PDT 2025

Total time taken to generate the page: 0.00378 seconds