setting increments
Posted: Tue Mar 07, 2006 1:45 pm
hi there,
besides the option to automatically asign the labels on an axis i need two options where one can enter either the wanted gap between labels or the number of labels he wants to see.
e.g. ymin=0,ymax=2000, option 1=>gap=500(entered)
=>5 labels(0,500,1000,1500,2000)
option 2=>labelcount=3(entered)
=>3 labels(666,1333,1999(or 2k))
how to archieve this? i tried some own functions but they wont work very accurately...is there a way to say e.g. labels at 0 and 2000 are allways shown and only the rest is calculated? how to get back to automatic asignment?
best regards,
robert
besides the option to automatically asign the labels on an axis i need two options where one can enter either the wanted gap between labels or the number of labels he wants to see.
e.g. ymin=0,ymax=2000, option 1=>gap=500(entered)
=>5 labels(0,500,1000,1500,2000)
option 2=>labelcount=3(entered)
=>3 labels(666,1333,1999(or 2k))
how to archieve this? i tried some own functions but they wont work very accurately...is there a way to say e.g. labels at 0 and 2000 are allways shown and only the rest is calculated? how to get back to automatic asignment?
best regards,
robert