Re: thick-bold lines? [message #54006] |
Tue, 15 May 2007 07:30 |
Paul Van Delst[1]
Messages: 1157 Registered: April 2002
|
Senior Member |
|
|
cmancone@ufl.edu wrote:
> Ah, good point. My suggestion has the disadvantage of changing the
> global plot variables, so all plots you make will have thicker lines.
> Of course, this can be useful if you always want thicker lines (I
> usually do), but it looks ugly when making plots in idl plot windows,
> instead of .ps files.
Not really:
pro mydataplot, x, y, ps=ps
thick = 1 ; Default thickness for screen plot
if ( keyword_set(ps) ) then thick = 3
plot, x, y, $
THICK = thick, $
XTHICK = thick, $
YTHICK = thick
end
where the "ps" keyword indicates that the PS output device has been setup already.
Typically, when I'm producing plots where I also want PS output, a little program like the
above is in order. Guaranteed I'm going to want to do it more than once.
If it's something you do all the time, you may want to put the attribute switching to/from
screen or PS output in its own procedure, e.g.
pro mydataplot, x, y, ps=ps
set_plotdefaults, myp, ps=ps
plot, x, y, $
THICK = myp.thick, $
XTHICK = myp.xthick, $
YTHICK = myp.ythick
....etc...
end
Or... maybe some judicious use of the _EXTRA keyword?
cheers,
paulv
--
Paul van Delst Ride lots.
CIMSS @ NOAA/NCEP/EMC Eddy Merckx
|
|
|
Re: thick-bold lines? [message #54007 is a reply to message #54006] |
Tue, 15 May 2007 07:21  |
Vince Hradil
Messages: 574 Registered: December 1999
|
Senior Member |
|
|
On May 15, 8:59 am, cmanc...@ufl.edu wrote:
> Ah, good point. My suggestion has the disadvantage of changing the
> global plot variables, so all plots you make will have thicker lines.
> Of course, this can be useful if you always want thicker lines (I
> usually do), but it looks ugly when making plots in idl plot windows,
> instead of .ps files.
>
> On May 15, 9:32 am, David Fanning <n...@dfanning.com> wrote:
>
>> kostis writes:
>>> In a plot the Thick= option works only for the plotted line
>>> not for the axis...
>>> Like this when i save a .ps everything looks a little faint
>
>>> How can i do everything thicker or bold??
>
>> To make the axes thicker, use the [XYZ]THICK keywords.
>> To make the annotations thicker, use the CHARTHICK
>> keyword.
>
>> 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.")
Check out http://www.dfanning.com/ps_tips/pointthick.html - I use a
case or if statement to change thicknesses between X and PS
|
|
|
Re: thick-bold lines? [message #54009 is a reply to message #54007] |
Tue, 15 May 2007 06:59  |
cmancone
Messages: 30 Registered: May 2007
|
Member |
|
|
Ah, good point. My suggestion has the disadvantage of changing the
global plot variables, so all plots you make will have thicker lines.
Of course, this can be useful if you always want thicker lines (I
usually do), but it looks ugly when making plots in idl plot windows,
instead of .ps files.
On May 15, 9:32 am, David Fanning <n...@dfanning.com> wrote:
> kostis writes:
>> In a plot the Thick= option works only for the plotted line
>> not for the axis...
>> Like this when i save a .ps everything looks a little faint
>
>> How can i do everything thicker or bold??
>
> To make the axes thicker, use the [XYZ]THICK keywords.
> To make the annotations thicker, use the CHARTHICK
> keyword.
>
> 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.")
|
|
|
Re: thick-bold lines? [message #54011 is a reply to message #54009] |
Tue, 15 May 2007 06:32  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
kostis writes:
> In a plot the Thick= option works only for the plotted line
> not for the axis...
> Like this when i save a .ps everything looks a little faint
>
> How can i do everything thicker or bold??
To make the axes thicker, use the [XYZ]THICK keywords.
To make the annotations thicker, use the CHARTHICK
keyword.
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.")
|
|
|
Re: thick-bold lines? [message #54012 is a reply to message #54011] |
Tue, 15 May 2007 06:29  |
cmancone
Messages: 30 Registered: May 2007
|
Member |
|
|
Try putting the following lines before your plot command:
!X.THICK=4
!Y.THICK=4
or some other values. At least, that should do it if I'm
understanding you right.
On May 15, 9:17 am, kostis <kostis...@gmail.com> wrote:
> In a plot the Thick= option works only for the plotted line
> not for the axis...
> Like this when i save a .ps everything looks a little faint
>
> How can i do everything thicker or bold??
|
|
|