s-news
[Top] [All Lists]

cex and resolution

To: S-News <s-news@lists.biostat.wustl.edu>
Subject: cex and resolution
From: Thom Burnett <Thom.Burnett@cognigencorp.com>
Date: Wed, 01 Feb 2006 09:45:02 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113
How do I get larger fonts for labels and text on my graphs while keeping high resolution?

I'm finding that the cex parameter for character size hits a limit very quickly in my graphs.

As an example:

java.graph(file=filename, format='PNG', width=2000)
 par(cex=2)
 plot(1:10, 1:10, title=titleString )
dev.off()

At this width setting the fonts produced are identical in size to cex=1 or cex=4.

If I lower the width to something around 1500 or lower then I start seeing an increase in the font. Unfortunately, I need the high width to make good quality graphs for customers but I also need much larger characters.

I've tried varying csi, font, and other parameters without any success.

Is there something more about how cex and width work that I'm missing?

I'm working with SPlus 7.0 on Unix.
Changing to wmf or other graphic format isn't an option.

<Prev in Thread] Current Thread [Next in Thread>
  • cex and resolution, Thom Burnett <=