|
From: Daniel F. <boy...@gm...> - 2006-11-27 01:24:33
|
Hi, Thanks for the pointers. I have it all working now. I have made an algorithm that 'links' x1 and x2 axis via a equation =20 (it actually just automate the set x2tics(...) function once the x1 =20 and a transformation equation are known.). It would be nice to =20 integrate my work with the gnuplot source when. However, I will now =20 have to learn about how gnuplot interprets equation; so that the user =20= can link the axes, my code needs to be more general. I'll post again about this subject after I've had a chance to read =20 some more source. Cheers, Daniel. On 26 Nov 2006, at 21:36, Hans-Bernhard Br=F6ker wrote: > Daniel Farrell wrote: > >> Where is this calculated in the code? > > src/axis.c: gen_tics and make_tics() > >> How does gnuplot calculate the step size between tic marks? > > Compute the length of the axis, find a tic size from the usual =20 > 1/2/5 times power-of-ten series that will create a "useful" number =20 > of tics (between 5 and 10) on that range. Variations of this =20 > scheme are needed for logarithmic and time/date scales. > > |