|
Re: Symsize doesn't seem to work? [message #65739 is a reply to message #65734] |
Sun, 22 March 2009 05:55   |
Jeremy Bailin
Messages: 618 Registered: April 2008
|
Senior Member |
|
|
On Mar 20, 10:26 pm, Chris <beaum...@ifa.hawaii.edu> wrote:
> On Mar 20, 3:42 pm, stefan5...@hotmail.com wrote:
>
>
>
>> Dear all,
>
>> I'm trying to make plots with the post script device, and am trying to
>> increase the size of my psym=3 circular points to something that is
>> actually visible when saved as a .ps, but it doesn't seem to have any
>> effect. Can anyone see why from the below code? :
>> FOR i=0,a-1 DO BEGIN
>
>> !P.MULTI=0
>> SET_PLOT,'PS'
>> DEVICE,/ENCAPSULATED,FILENAME=string(filefolder)+'/Star'+str ing
>> (FORMAT='(I0)',ensarray[1,0,i])+'.ps',/color,bits_per_pixel= 8
>> loadct,13
>
>> plot,ensarray[0,*,i],ensarray[3,*,i],
>> $
>> psym=3,yrange=[min(ensarray[3,*,i]),max(ensarray
>> [3,*,i])],color=0,symsize=10.0,$
>> xtitle='HJD - 2450000',$
>> ytitle='dMag',$
>> title=' "Intrinsic Photometric Variability" of Star '+string
>> (FORMAT='(I0)',ensarray[1,0,i]),$
>> YSTYLE=8
>> AXIS,yaxis=1,yrange=[min(nofailarray[1,*,*]),max(nofailarray
>> [1,*,*])],/SAVE,ytitle='Airmass' ;Plots the right axis
>> oplot,nofailarray[0,*,0],nofailarray[1,*,0],psym =
>> 3,color=120,LINESTYLE=3
>
>> ENDFOR
>
> psym = 3 draws a single point, for which symsize do anything. Try
> another psym choice
>
> chris
If you want a filled circle (which is not the same as a dot!), I'm
sure several people have written routines that do this... for example,
with jbsymbol (http://astroconst.org/jbiu/jbiu-doc/plot/jbsymbol.html)
you could do:
jbsymbol, 6, /fill
and then use psym=8 and symsize=whatever.
-Jeremy.
|
|
|
Re: Symsize doesn't seem to work? [message #65747 is a reply to message #65739] |
Fri, 20 March 2009 19:26   |
Chris[6]
Messages: 84 Registered: July 2008
|
Member |
|
|
On Mar 20, 3:42 pm, stefan5...@hotmail.com wrote:
> Dear all,
>
> I'm trying to make plots with the post script device, and am trying to
> increase the size of my psym=3 circular points to something that is
> actually visible when saved as a .ps, but it doesn't seem to have any
> effect. Can anyone see why from the below code? :
> FOR i=0,a-1 DO BEGIN
>
> !P.MULTI=0
> SET_PLOT,'PS'
> DEVICE,/ENCAPSULATED,FILENAME=string(filefolder)+'/Star'+str ing
> (FORMAT='(I0)',ensarray[1,0,i])+'.ps',/color,bits_per_pixel= 8
> loadct,13
>
> plot,ensarray[0,*,i],ensarray[3,*,i],
> $
> psym=3,yrange=[min(ensarray[3,*,i]),max(ensarray
> [3,*,i])],color=0,symsize=10.0,$
> xtitle='HJD - 2450000',$
> ytitle='dMag',$
> title=' "Intrinsic Photometric Variability" of Star '+string
> (FORMAT='(I0)',ensarray[1,0,i]),$
> YSTYLE=8
> AXIS,yaxis=1,yrange=[min(nofailarray[1,*,*]),max(nofailarray
> [1,*,*])],/SAVE,ytitle='Airmass' ;Plots the right axis
> oplot,nofailarray[0,*,0],nofailarray[1,*,0],psym =
> 3,color=120,LINESTYLE=3
>
> ENDFOR
psym = 3 draws a single point, for which symsize do anything. Try
another psym choice
chris
|
|
|
Re: Symsize doesn't seem to work? [message #65865 is a reply to message #65739] |
Tue, 24 March 2009 04:53  |
David Klassen
Messages: 27 Registered: December 2004
|
Junior Member |
|
|
On Mar 22, 8:55 am, Jeremy Bailin <astroco...@gmail.com> wrote:
>
> If you want a filled circle (which is not the same as a dot!), I'm
Interestingly, in the PostScript, a dot is a filled polygon. No
wonder
my 40000 point, psym=3 plots are HUGE.
|
|
|