[Date Prev][Date Next][Index][Thread] [SGT Mail Archive] [SGT Main Page]

JPlotLayout: tic labels



*************************************************
Message from the sgt mail list.
*************************************************

Hello List,

Another question about JPlotLayout: How do I change the font size, specifically in the tic labels? I tried calling setFont() on the JPlotLayout object but that accomplished nothing.

To change it interactively, via right-click on the axis, does work, but I'd like to set it programmatically.

My problem is that the tic labels in my plots overlap because the (largish) numbers are displayed in scientific notation (3.0e+006 is a pretty long tic label). Another, maybe nicer, solution would be to scale the whole plot so that 3.0e+006 would become 3.0 and 1e6 would be displayed only once for the axis. Can SGT do this automatically?

Regards,

	Elias

--
Wenn weniger mehr ist, ist nichts alles.


*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.


Privacy Notice, External Links Disclaimer.