Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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, rm -rf 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
1  
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
1  
How is your edit related to the first sentence? –  Kuba Sep 8 '13 at 21:18
1  
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

1 Answer 1

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
2  
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.