Hi Xinxing,
If you plot an XProfile using the Profile(s) function, you can right click on the graph to open Properties and find the raw data (see image below). If you plot it without the Relative box checked, this should give you the positional and intensity data. I believe this is analogous, if not identical, to the data used to generate the demograph.
Best,
Jordan