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

Home » Public Forums » archive » Re: Symsize doesn't seem to work?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Symsize doesn't seem to work? [message #65734] Sun, 22 March 2009 15:45 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jeremy Bailin writes:

> 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.

SYMCAT has a list of 45 or so symbols, one of which
is a filled circle:

http://www.dfanning.com/programs/symcat.pro

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: Symsize doesn't seem to work? [message #65739 is a reply to message #65734] Sun, 22 March 2009 05:55 Go to previous messageGo to next message
Jeremy Bailin is currently offline  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 Go to previous messageGo to next message
Chris[6] is currently offline  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 Go to previous message
David Klassen is currently offline  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.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: read ver5 *.mat file?
Next Topic: starting point of dashed lines

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

Current Time: Wed Oct 08 15:31:44 PDT 2025

Total time taken to generate the page: 0.00630 seconds