Daohua:
The help files provide this example for FrameTicks
Plot[Sin[x], {x, 0, 2 Pi}, Frame -> True, FrameTicks -> {{0, Pi/2, Pi, (3
Pi)/2, 2 Pi}, {-1, 0, 1}}];
The ticks are just a list each must be iterated. But if you can fund a
function that Evaluates to a list such as the following:
Plot[Sin[x], {x, 0, 2 Pi}, Frame -> True, FrameTicks -> {Range[0, 2 Pi,
Pi/2], Range[-1, 1, 1]}];
will produce the same Plot.
In your example
If you find a function(s) that can return a list {0, .5, .7, 1}, and {0, .5,
1}. Then you are set. Or define them globally and use that global definition
in your Plot.
Hans Michel
|