Skip to content

Setting fixed size for segement plot using stars() (axes size vs print size)

1 message · Greg Snow

#
You could use the symbols function instead of the stars function.  This allows you to set the size of the stars in inches and that will not change based on the number of stars.  The drawback is that you will have to set the positioning yourself and may need to suppress the axes and add the label and legend manually.  You can also look at the my.symbols function in the TeachingDemos package if you want even more control of the individual stars.

You could also add additional rows of 0's to your smaller datasets so that the stars function still creates the same number of stars with the later ones just being points rather than whole stars.

Hope this helps,

--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
(801) 408-8111