A bit more difficult because of the text placement, but not too difficult...Or close, closer, disco, for that matter).
No problem - any font size you wantAlso the ability to vary font size for scale names.
A start and end angle you mean? No problem - I'll work on that tomorrow...The ability to specifiy a start and finish offset ( this would allow the printing of scales for the Lorlin type switches that are 2X6 or 4X3).
Also quite possible - but you will end up with a lot of settings...The ability to create sub-ticks, and specify their length.
The ability to substitue a small circle instead of a line(for either major or minor ticks)
Que?The ability to vary the degree of tick separation.
I hope you don't mind - I'm just having a bit of fun...This is where I'm headed with this, the way it's going, you're beatin me to the punch :grin:
% User supplied settings
/outrad 70 def
/inrad 60 def
/steps 11 def
/numsz -5 def
/startnum 25 numsz sub def
/text ( Testing 1 2 3 ) def
% End user supplied settings
I have just solved a lot of strange problems in PostScript - like making invoices from an IBM S36 (meant for a matrix printer) look nice and "modern" on a colour laser...As to you crankin this out quicker, it doesn't bother me one bit. To me I thought it was something useful that I need in a bad way, and that the overall group could benefit from. You've either got more spare cycles, or a bigger noggin, so I'm happy either way :thumb:
Thanks!Oh, and have I told you recently that you rule :!: :green: :guinness:
Points are used to define positions in "user space". A point is 1/72" (if you didn't know), and 0.0 is the lower left corner.on question. Is the points scale completely relative in postscript?
fum wrote:
As to variance of tick separation. some stepped switches vary the angle of separation between clicks. so you'll want the ability to specify how many degrees between steps ( this goes in tandem with the start and finish offset). In this fashion, you can say, I need 6 steps, with 35 degrees space at the beginning, and 12 degrees between clicks.
mcs wrote:
I may be a bit slow (or I had too much wine at dinner), but I don't really understand your example. Is the spacing between the 6 steps 35° or 12° (or both)?