# How can I modify text in a Graphics produced by Plot?

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?

• If you put the marker after the plot and write // InputForm and then evaluate, it should give you a Graphics expression that you can modify. – C. E. Mar 11 '15 at 18:13
• Proposed duplicate: (17250) – Mr.Wizard Mar 12 '15 at 20:51

You can use Show to change options in existing graphics.
plot = Plot[Sin[x],{x,0,10}, AxesLabel -> {x,y}]

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

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