Hello! I want to plot a simple function, but on the OX axis, the output labels are by default 1,2,3, etc. I want to have them in the format x/2. Instead of 1,2,3, I want 2/2, 4/2, 6/2. Is this possible? But only on the OX axis.
Thank you in advance!
Hello Robert,
A possible initial code may be the following:
Plot[x^2, {x, 1, 10}, Ticks -> {Range[20]/2, All}, AxesLabel -> {HoldForm[x/2], HoldForm[y]}]
Sure, you may adjust and improve it.
O zi buna in continuare :)
Thank you very much sir! I will try it right away.
Toate cele bune :)
Have a look at the documentation of Ticks and Frameticks. You can specify ticks at any location with any labelÂ…
Sorry Sander for the duplication. Your comment appeared only after I posted mine.