jmathplot icon indicating copy to clipboard operation
jmathplot copied to clipboard

How can I change the format of numbers on axes (make them bold or black) ?

Open GoogleCodeExporter opened this issue 10 years ago • 1 comments

I want the numbers on axes to be more visible.


Original issue reported on code.google.com by [email protected] on 5 Mar 2015 at 9:31

GoogleCodeExporter avatar Mar 14 '15 13:03 GoogleCodeExporter

I also would like to change the color of the numerical labels. I see that the color is hardcoded on line 337 of Axis.java:

 lightLabels[i] = new Label(lab, Color.lightGray, labelCoord);

It would be a simple matter to add methods setLightLabelColor and getLightLabelColor along with an associated variable lightLabelColor to Axis.java to control the color in the same way it is done for the main axis labels using setColor and getColor using the variable color.

I’d be happy to do this (I will do it on my own version, but I’d rather do it for the official for future compatibility). I don’t know the policy/procedure for making changes to the official package….I’ll see if I can find out, but if someone can give me a pointer, it would be helpful.

-Jon

jluntz avatar Jun 16 '15 16:06 jluntz