New answers tagged

3

Use the option FrameTicks instead of Ticks: ContourPlot[m^2*g^3, {m, 10^(-5), 1*10^(-4)}, {g, 0.01, 0.04}, ScalingFunctions -> {"Log", "Log"}, PlotPoints -> 15, PlotRange -> All, Contours -> 10, Frame -> True, FrameLabel -> {Style["m", 24], Style["g", 24]}, FrameTicksStyle -> Directive[FontSize -> 18], FrameTicks -> {{...


0

Try this: newticks = Map[{#, # *1.*10^-10} &, Range[1, 100]]; which only differs from your definition by a factor 1.. Have fun!


1

You can take x-Ticks from plot either with: oldticks = Charting`ScaledTicks[{Log, Exp}][Log@1, Log@100, {6,6}] or with: oldticks = (Ticks /. AbsoluteOptions[plot, Ticks])[[1]] Now change labels: Show[plot, Ticks -> {oldticks /. {a_?NumericQ, b_?NumericQ, c__} :> {a, scalefact b, c}, Automatic}] EDIT To answer new request in comment about ...


4

You can use the undocumented Charting`FindTicks to generate ticks automatically and then remove the ones you don't want. That's more or less the same as taking the default ticks and removing some of those. I learned about Charting`FindTicks from Mr. Wizard's answer here. Start with a basic plot: plot = Plot3D[Sin[x + y^2], {x, -3, 3}, {y, -2, 2}] Now use ...


Top 50 recent answers are included