Vertical Number Line

A plethora of command-line scripts that perform geometric transforms, blurs, sharpens, edging, noise removal, and color manipulations.
Post Reply
greengrass
Posts: 10
Joined: 2014-03-31T18:50:34-07:00
Authentication code: 6789

Vertical Number Line

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Vertical Number Line

Post 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/
greengrass
Posts: 10
Joined: 2014-03-31T18:50:34-07:00
Authentication code: 6789

Re: Vertical Number Line

Post 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.
Post Reply