-1
$\begingroup$

Consider the screenshot of some density plot: enter image description here Its pdf version may be found here. The plot is from this paper (Fig. 4).

Could you please tell me whether Mathematica can extract the data from this plot in the form

{pA, thetaA, number of A}

I have already looked at this question, but I don't understand whether the approach shown there is an image-independent and how to adapt it for my purposes.

I am often facing similar plots, and it is not always possible to ask authors for providing the data. By this example, I would like to learn how to do this by myself.

$\endgroup$
  • 3
    $\begingroup$ I recommend you send an email to the paper's authors and ask them for the data file. They may be happy to provide it. $\endgroup$ – Roman Nov 18 at 10:31
  • $\begingroup$ @Roman : the problem is that I am often facing similar plots, and it is not always possible to ask authors for providing the data. By this example, I would like to learn how to do this by myself. $\endgroup$ – John Taylor Nov 18 at 10:34
  • 2
    $\begingroup$ The image data contains the color values of the pixel. Your main problem is to identify the colorfunction ? $\endgroup$ – Ulrich Neumann Nov 18 at 11:36
  • $\begingroup$ @UlrichNeumann : unfortunately to me, I don't understand the code from this answer, mathematica.stackexchange.com/questions/149473/…. Currently, I don't understand anything. $\endgroup$ – John Taylor Nov 18 at 11:49
  • 1
    $\begingroup$ The other issue you have with these sorts of plots, is that the colorfunction is discretised / binned. This means you have a range of values on a logarithmic scale which give a certain color. You could try to match the colour bar to the logarithmic values. This will have large errors though, and this will be made even worse as you don't know the bin size or the range of values that give you a certain colour. I would try to get the data as this is the only way to be able to graph this properly $\endgroup$ – Dunlop Nov 19 at 4:48