size of usersym symbols [message #8392] |
Thu, 27 February 1997 00:00  |
haskell
Messages: 3 Registered: January 1997
|
Junior Member |
|
|
does anyone know how to 'calibrate' the size of usersym symbols?
the manuals state that the dimensions used in the usersym call are approximately the size of character size units but that does not seem to be the case for me.
for example:
x=indgen(3)
usersym,[0,0,1,1,0],[0,1,1,0,0] ; trying to make a box with a height of one char
plot,x,x,psym=8
xyouts,x,x,' X'
the square produced by usersym is less than half the height of the 'X' that is placed next to it. it appears this way both on the screen and in postscript plots.
i am running version 4.0.1 on a sunos unix system.
i would like to produce symbols that are the same size as characters produced with the xyouts call without using trial and error. does anybody have any suggestions?
cheers,
eddie
|
|
|
Re: size of usersym symbols [message #8414 is a reply to message #8392] |
Thu, 06 March 1997 00:00  |
tonya
Messages: 2 Registered: March 1997
|
Junior Member |
|
|
In article <5f45l1$dq5@kuroshio.ccpo.odu.edu>,
eddie haskell <haskell@ccpo.odu.edu> wrote:
> does anyone know how to 'calibrate' the size of usersym symbols?
>
> the manuals state that the dimensions used in the usersym call are approximately the size of character size units but that does not seem to be the case for me.
>
> for example:
>
> x=indgen(3)
> usersym,, ; trying to make a box with a height of one char
> plot,x,x,psym=8
> xyouts,x,x,' X'
>
> the square produced by usersym is less than half the height of the 'X' that is placed next to it. it appears this way both on the screen and in postscript plots.
>
> i am running version 4.0.1 on a sunos unix system.
>
> i would like to produce symbols that are the same size as characters produced with the xyouts call without using trial and error. does anybody have any suggestions?
>
> cheers,
> eddie
Hi Eddie,
To alter the symbol size:
(Note: the variable my_s_size need not be an integer)
my_s_size=2. ;or whatever
usersym,*my_s_size,[0,1,1,0,0]*my_s_size
plot,x,x,psym=8
Regards, Tony.
--
| Tony Adriaansen ~ @_ ~ )))
| Phone: +61 2 413 7211 ~ __| \ )))
| Fax: +61 2 413 7204 [__/__) )))
| email: TonyA@dap.csiro.au __/ \< /__
|
|
|