Posted by
Michael Schmid on
Jan 23, 2008; 6:32pm
URL: http://imagej.273.s1.nabble.com/Label-images-tp3697295p3697296.html
Hi Robert,
maybe you could get some inspiration from the code in the
drawTicksEtc() method of ij.gui.Plot.
It contains the code needed for axis labels with "nice" numbers
(i.e. numbers such as 100, 200, ... and not 123.4 246.8, ...)
Michael
________________________________________________________________
On 22 Jan 2008, at 22:23, Robert Dougherty wrote:
> Dear List,
>
> I often make color contour plots in which the vertical scale is
> frequency in Hz or kHz and the the horizontal scale is either
> channel number or x in inches. Axis labels and scales are needed.
> I usually make the canvas larger to create white space and then use
> the text tool to create the labels outside the plot. This is a bit
> laborious. Macro recording does not seem to work, as text does not
> record. Before I write a marco or plugin for external annotation/
> axis labeling, does one already exist?
>
> Bob
>
> Robert Dougherty, Ph.D.
> President, OptiNav, Inc.
> 10900 NE 8th St, Suite 900
> Bellevue, WA 98004
> Tel. (425)990-5912
> FAX (425)467-1119
> www.optinav.com
>
[hidden email]