rafafredd

Math geeks and panel graphics unite
« Reply #60 on: October 06, 2004, 11:45:54 PM »
Quote from: "fum"
Can you make the number of sub-ticks a variable, such that you could have 4 sub-ticks between steps?


Or none, for that matter....

It would be nice, Mikkel, if it´s not a pain.


mcs

Math geeks and panel graphics unite
« Reply #61 on: October 07, 2004, 05:41:58 AM »
Quote from: "cjenrick"
darn, where were you a year ago? :twisted:

Right here - or at "the other place" I guess...

Quote from: "Kev"
...  :sad: however, I'm not succeeding at the moment with PDF.
IE crashed and the PDF was blank.

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:

Quote
show us the parameters of that test print above as an example.

They are here: http://stiftsbogtrykkeriet.dk/~mcs/ScaleSettings2.gif

Quote from: "fum"
Can you make the number of sub-ticks a variable, such that you could have 4 sub-ticks between steps?

Yes, I'll have a look at that.

Quote from: "rafafredd"
Or none, for that matter....

Just select "Subticks: no", or am I misunderstanding something?

Best regards,

Mikkel C. Simonsen

VacuumVoodoo

Math geeks and panel graphics unite
« Reply #62 on: October 07, 2004, 06:51:41 AM »
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:
Alex Niemand
_____________________________________
Life's a party but you get invited only once...
Tubewonder amps
"L

mcs

Math geeks and panel graphics unite
« Reply #63 on: October 07, 2004, 06:16:20 PM »
Quote from: "VacuumVoodoo"
This is very impressive. After having done scales in Corel this will make life much easier, thanks.

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

Quote
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:


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?

Quote
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.

Quote
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...

Quote
Yeh, i know, the crazy swedes are never satsified... :grin:

I'm not easy to satsify either  :wink:

Best regards,

Mikkel C. Simonsen

VacuumVoodoo

Math geeks and panel graphics unite
« Reply #64 on: October 08, 2004, 03:01:41 AM »
That's exactly what i had in mind, thanks.

As for the pink elephants - No thanks, i hate pink :green:
Alex Niemand
_____________________________________
Life's a party but you get invited only once...
Tubewonder amps
"L

mcs

Math geeks and panel graphics unite
« Reply #65 on: October 14, 2004, 02:19:06 PM »
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

mik

Math geeks and panel graphics unite
« Reply #66 on: October 15, 2004, 01:26:43 PM »
thank you

mcs

Math geeks and panel graphics unite
« Reply #67 on: October 15, 2004, 04:48:24 PM »
Quote from: "Viitalahde"
How about llamas?

Something like this:



Here's a closeup:



Here's the code:
Code: [Select]
/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

fum

Math geeks and panel graphics unite
« Reply #68 on: October 15, 2004, 05:09:45 PM »
Man, I may have to use the llamas on my green pre's =)

 

Related Topics

  Subject / Started by Replies Last post
14 Replies
4013 Views
Last post April 04, 2008, 06:01:36 PM
by okgb
11 Replies
2823 Views
Last post October 31, 2009, 07:49:33 AM
by dmlandrum
4 Replies
2451 Views
Last post January 21, 2011, 10:26:28 AM
by SimonB
7 Replies
3384 Views
Last post September 26, 2011, 05:30:22 AM
by Kingston