0

I would like to make a simple plot look a little bit better. To do so would like to add relative axes in addition to the absolute values. I think I can use axis(3,...) to do this but I haven't figured out how.

Can you help me with that?

Peter
  • 355
  • 1
  • 8
  • 23

1 Answers1

0

If i understand you

try something like

  x=1:10
    y=x^2

    plot(y~x)
    axis(3, at=x,labels =mean(x)-x)
Batanichek
  • 7,761
  • 31
  • 49