Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to scale the $x$ axis of the plot by $x^0$ and the $y$ axis by $\tan x$. Is this possible ?

 Plot[Tan[x], {x, 0, 10}, PlotRange -> Automatic]

EDIT: Actually wanted to know that how to include the axes name like in the below picture mentioned by (x and y) and the curve whiched is defiend in the picture by $f(x)=x^2$? enter image description here

share|improve this question

closed as unclear what you're asking by Kuba, Artes, Sjoerd C. de Vries, R. M. Sep 8 '13 at 22:53

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

Try looking at the help file for PlotRange. – bill s Sep 8 '13 at 18:34
I think you cannot because Axes units must be numbers. – Rorschach Sep 8 '13 at 18:34
I don't understand what output you want, can you clarify a bit? (One interpretation I came up with is that you want to label the axes, in which case: Plot[Tan[x], {x, 0, 10}, PlotRange -> Automatic, AxesLabel -> {Defer[x^0], Defer[Tan[x]]}] if this is not what you want can you perhaps find a picture of how you want it to look ) – ssch Sep 8 '13 at 18:51
How is your edit related to the first sentence? – Kuba Sep 8 '13 at 21:18
Your edit seems to ask a completely different question. The first question was interesting. This new question can be solved with a quick look at the documentation for styling plots and drawing graphics. AxesLabel -> {"x", "y"}, AxesStyle -> Arrowheads[0.05], Epilog -> Text[TraditionalForm[f[x] == x^2], {7, 6.25}] – Timothy Wofford Sep 8 '13 at 21:39
up vote 4 down vote accepted

I believe this is what you are looking for

Plot[ArcTan@Tan[x], {x, 0, 10},
  Ticks -> {
    Table[{i, i*180 °/π}, {i, 0, 10, π/6}],
    Table[{i, N@Tan[i]}, {i, -90 °, 90 °, 10 °}]

The resulting plot has an $x$-axis marked of in degrees (my interpretation of x^0) and the $y$-axis is scaled according to ArcTan, much like LogPlot is scaled according to Exp.

ArcTanPlot of Tan(x)

share|improve this answer
Ahhh, 0 was \[deg] :) I think it is good interpretation :) – Kuba Sep 8 '13 at 19:54
I have edited the question. – user15079 Sep 8 '13 at 20:58

Not the answer you're looking for? Browse other questions tagged or ask your own question.