[Date Prev][Date Next][Index][Thread]
[SGT Mail Archive]
[SGT Main Page]
JPlotLayout: tic labels
- To: sgt@noaa.gov
- Subject: JPlotLayout: tic labels
- From: Elias Assmann <elias.assmann@student.tugraz.at>
- Date: Thu, 11 Jun 2009 23:07:47 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tugraz.at; s=mailrelay; t=1244754469; bh=OrwNdyFv2J+xfuztY/rbz5Us1vtgCHA4Ne3nW DSQLQ4=; h=Message-ID:Date:From:MIME-Version:To:Subject: Content-Type:Content-Transfer-Encoding; b=SI+vEJSwvD9fzx6aaH/GiteI 6jSIuHMwLO82kluLniml3AxzA7llIL+gbIyygoAiXdfOBhWdiMWzgHegYtGFBjj78sx jWKQtvoJdgAYP500WfJ9SktwZGAvosj1pnrp5xeC88vu5EvYo5lLgsWjhx8G92A/AYt 88DZpt1mPeexI=
- Reply-to: Elias Assmann <elias.assmann@student.tugraz.at>
- Sender: owner-sgt@noaa.gov
- User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)
*************************************************
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.