Math geeks and panel graphics unite

GroupDIY Audio Forum

Help Support GroupDIY Audio Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
[quote author="fum"]Can you make the number of sub-ticks a variable, such that you could have 4 sub-ticks between steps?
[/quote]

Or none, for that matter....

It would be nice, Mikkel, if it´s not a pain.
 
[quote author="cjenrick"]darn, where were you a year ago? :twisted:[/quote]
Right here - or at "the other place" I guess...

[quote author="Kev"]... :sad: however, I'm not succeeding at the moment with PDF.
IE crashed and the PDF was blank.[/quote]
Yes, IE does that a lot - I'm not really sure if the cause is the Acrobat Reader plugin or IE. When the plugin "sees" a PDF file it doesn't like (which includes many types of PDFs) it acts strange. That probably causes IE to crash. But if IE does what it's told it should give you the option of saving the PDF instead of opening it. Does it? If you save the PDF file and open it in AR afterwards you'll have no problems. The bugs are in the AR plugin, not in AR itself. AR has many other bugs, but not this one :wink:

show us the parameters of that test print above as an example.
They are here: http://stiftsbogtrykkeriet.dk/~mcs/ScaleSettings2.gif

[quote author="fum"]Can you make the number of sub-ticks a variable, such that you could have 4 sub-ticks between steps?[/quote]
Yes, I'll have a look at that.

[quote author="rafafredd"]Or none, for that matter....[/quote]
Just select "Subticks: no", or am I misunderstanding something?

Best regards,

Mikkel C. Simonsen
 
This is very impressive. After having done scales in Corel this will make life much easier, thanks.

Would it be too time consuming/difficult to add a few features:

Tick shape: for example a dot, specifiy diameter for major tick and a different dot diameter for minor tick.

Radii in mm or inches instead of points ? - would that introduce scaling errors to postscript ?

Text instead of ticks ?

Yeh, i know, the crazy swedes are never satsified... :grin:
 
[quote author="VacuumVoodoo"]This is very impressive. After having done scales in Corel this will make life much easier, thanks.[/quote]
Whenever I have needed to draw something "difficult" like this, I have often written it in PostScript. I have even done graphics for websites that way...

Tick shape: for example a dot, specifiy diameter for major tick and a different dot diameter for minor tick.
What's next? Pink elephants? :green:

Something like this:
Scale7.gif


Do you want dots or circles (or both)?
The subtics are half size as it is now. Either half length or half diameter. Is that OK?

Radii in mm or inches instead of points ? - would that introduce scaling errors to postscript ?
I could multiply with 2.83 to convert from mm to points. That would only cause a small error.

Text instead of ticks ?
I will probably make no ticks an option - you can still specify the text for the lables- That option isn't ready yet though...

Yeh, i know, the crazy swedes are never satsified... :grin:
I'm not easy to satsify either :wink:

Best regards,

Mikkel C. Simonsen
 
I updated the script a bit. Now you can select the "tick" types - lines, circles or dots.

If anybody can write a simple PostScript procedure for drawing pink elephants I will add that also :green:

Best regards,

Mikkel C. Simonsen
 
[quote author="Viitalahde"]How about llamas?[/quote]
Something like this:

Llama1.gif


Here's a closeup:

Llama2.gif


Here's the code:
Code:
/DrawLlama
	{
	/deg deg stepsize add def
	Xpos Ypos moveto
	Xpos Ypos inrad deg deg arc
	currentpoint moveto
	-4 -8 rmoveto
	gsave
	currentpoint translate
	currentpoint newpath
	0.15 0.15 scale
	0 0.9 0 setrgbcolor
	/l {lineto} def
	57 3 moveto
	57 4 l 58 38 l 55 44 l 51 49 l 43 52 l 36 53 l
	33 56 l 33 80 l 33 99 l 28 106 l 26 109 l
	22 113 l 19 114 l 13 114 l 6 109 l
	5 106 l 5 78 l 0 56 l 0 42 l 3 32 l 6 26 l 9 15 l
	9 4 l 12 0 l 12 6 l 14 10 l 15 16 l 19 15 l
	24 15 l 24 11 l 20 2 l 21 0 l 23 2 l
	24 5 l 28 9 l 29 11 l 33 16 l 40 17 l 41 11 l
	45 3 l 47 3 l 47 10 l 45 13 l 45 18 l 49 20 l
	51 13 l 54 4 l 55 2 l
	closepath fill
	0 setgray
	21 108 2 0 360 arc fill
	7 108 2 0 360 arc fill
	0.95 setgray
	20 104 moveto
	7 104 l 7 101 l 8 96 l 10 92 l 14 92 l 21 98 l
	closepath fill
	0 0.8 0 setrgbcolor
	19 101 moveto
	11 100 l 11 97 l 13 96 l 15 96 l
	closepath fill
	grestore
	} def

Feel free to send me improvement to the code :green:

Best regards,

Mikkel C. Simonsen
 
Back
Top