0

I have a Plot in a cell of a Mathematica notebook. The Plot was made with data that I no longer have. I want to modify the label of one of the axes, without running the plot command again (since I don't have the data). How can I do this?

a06e
  • 11,327
  • 4
  • 48
  • 108

1 Answers1

3

You can use Show to change options in existing graphics.

plot = Plot[Sin[x],{x,0,10}, AxesLabel -> {x,y}]

Mathematica graphics

Show[plot, AxesLabel -> {x, Sin[x]}]

Mathematica graphics

Modifying the actual contents is more difficult and involves examining the contents of the Graphics expression.

Szabolcs
  • 234,956
  • 30
  • 623
  • 1,263