Page 1 of 1

Vertical Number Line

Posted: 2014-03-31T19:58:24-07:00
by greengrass
I'm currently using Fred Weinhaus' spectrumhist to generate some histograms from images. Thanks Fred. Your scripts saved me a great deal of time.

Now I would like to post process the output and add a vertical scale, labeled with 10,20,30....90 and 5,15,25 horizontal marks. A number line based on percentages. Any hints or pointers on a low overhead solution to produce this type of scale so as to be able to judge the relative height of each block in the histogram would be appreciated.

Re: Vertical Number Line

Posted: 2014-03-31T20:04:10-07:00
by fmw42
You could overlay a grid, with my grid script. Or you could use -draw to make a scale image with tics and labels and append it to one or both sides of the image. See -draw and caption, annotate, etc.
http://www.imagemagick.org/Usage/draw/#primitives
http://www.imagemagick.org/Usage/text/

Re: Vertical Number Line

Posted: 2014-04-01T05:28:38-07:00
by greengrass
Thanks Fred. I knew someone would have a solution to hand. Sorry I didn't read all you script descriptions. I'll just add numbers to the output.