Noname
Noname

Reputation: 355

Plot on a pdf file using matlab

I have a 2D plot from a paper and I want to compare my results with it. I am using Matlab and I wonder is there a way I can plot my data on top of the pdf file I have?

Thanks in advance.

Upvotes: 0

Views: 88

Answers (1)

Joe
Joe

Reputation: 36

I would suggest to make a snapshot of the plot in the pdf and save it as an image file. Then you could extract the data from the plot, for example with this tool from fileexchange: https://de.mathworks.com/matlabcentral/fileexchange/7173-grabit

you can then plot your data and the data from the plot in a new figure.

Another option to keep the original figure design is plot the image, scale the axes and overlay your data on the image. I hope it helps

Upvotes: 1

Related Questions