# Add grid table to plot [closed]

How can I place a grid at a certain position in a plot?

Example:

plot = Plot[Sin[x], {x, 0, 2 Pi}]


grid = Grid[{{"Function", "Parameter"}, {"Sin[x]", "x"}}, Frame -> All]


How can I place the grid at a certain position of the plot, so that I get e.g.:

plot = Plot[Sin[x], {x, 0, 2 Pi},
Epilog ->
Inset[
Grid[{
{"Function", "Parameter"},
{"Sin[x]", "x"}},
Frame -> All],
{4.75, .65}]]


• Thank you. With Epilog -> Inset[grid, Scaled[{0.7, 0.7}]] I can position the grid relative to the plot (coordinates from 0 to 1). Is it possible to set the size of the grid? – mrz Oct 14 '16 at 13:29
• To change the size of the inset I found only this, e.g: Epilog -> Inset[Rasterize[grid, ImageSize -> 400], Scaled[{0.7, 0.7}]]? – mrz Oct 14 '16 at 13:46
• It is possible do this with Listplot? Because Listplot not have Epilog. – LCarvalho Oct 15 '16 at 1:32
• @LMC - "ListPlot has the same options as Graphics, with the following additions and changes: ..." Graphics takes the option Epilog. ListPlot[data, Epilog -> Inset[grid, pos]] works for me. – Bob Hanlon Oct 15 '16 at 1:50
• I had not tried it. I am grateful. – LCarvalho Oct 15 '16 at 1:53