|
From: Hans-Bernhard B. <br...@ph...> - 2005-07-29 11:44:17
|
Giuseppe Angilella wrote:
> is it possible to have an user-defined scale on an axis according to a
> given nonlinear function?
Not really. The problem is that it is really quite hard to find any
generally applicable, sensible way of distributing tics on such
arbitrarily deformed axes, so odds are you'ld have to place the tics
manually anyway --- in which case there wouldn't not much to be gained
by having such a feature in gnuplot in the first place.
So: transform the data to be plotted, and place tics manually, as in
set parametric
set xtics ('1' f(1), '2' f(2), '3' f(3))
plot f(t), f(g(t)) t 'g(x)'
|