| Author |
Comment/Response |
Michael
|
06/29/12 8:12pm
Try using Dashing. I fix the PlotRange so I know the exact height, since the lengths of the dashes are relative. You have to unset the Dashing for the tick marks to show up. Example:
defaultAspectRatio = 1/GoldenRatio;
Plot[E^x - 2, {x, -2, 2},
PlotRange -> {-2, 5.5},
AxesStyle -> {Automatic,
Dashing[{0, 2/7.5, 5.5/7.5}*defaultAspectRatio]},
Ticks -> {Automatic, Range[5]},
TicksStyle -> Directive[Dashing[{}]]]
URL: , |
|