Group Abstract Group Abstract

Message Boards Message Boards

0
|
9.1K Views
|
10 Replies
|
1 Total Like
View groups...
Share
Share this post:
GROUPS:

PDF File to ListPlot?

Posted 10 years ago

Greetings,

Is there anyway in Hades to import the attached PDF chart and convert it to a ListPlot?

Best,

Dean Sparrow

Attachments:
POSTED BY: Dean Sparrow
10 Replies

Thank you, everyone. You all are out of my "league"!

POSTED BY: Dean Sparrow

Nevermind, Popkov's linked answers are awesome.

Mark

POSTED BY: Mark Holmes

Having run into this limitation of 10.2 before (and getting desperate), i use the "xpdf" code to convert the file to a PNG and then import the PNG:

RunProcess[{"pdftopng.exe", "-r", requestedDPI, yourFileName, outFileName}]
newImage = Import[outFileName];

This can be a little faster than the built in function for importing the PDF - depending on the PDF.

Cheers, Mark

POSTED BY: Mark Holmes

Thank you. I actually have 10.1 Home Version; I'm a poor undergraduate student. :-(

POSTED BY: Dean Sparrow
Posted 10 years ago

Mathematica versions 8.0.4 and 9.0.1 on Windows 7 x64 are able to import your PDF file (only textual elements are decoded incorrectly) but version 10.2 for some reason fails. For your pleasure I attach the Notebook with your file already Imported as a Graphics expression to this post. I included into the Notebook also the first few steps one could undertake for preparing the Imported data for analysis. Hope this helps. See this post of mine for further details.

Attachments:
POSTED BY: Alexey Popkov

I have the same issue; a png file works though.

POSTED BY: Dean Sparrow
Posted 10 years ago

When I try to use the Import[] command on this file, I get a message saying that PDF.exe stopped working. (Mathematica 10.2, Win 7)

POSTED BY: Gustavo Delfino
Posted 10 years ago

I had the same problem, which is why I converted it to a png. (Photoshop could read the pdf with no problem.) I sent the problem description and the pdf to tech support.

POSTED BY: David Keith

Thanks for the advice

POSTED BY: Dean Sparrow
Posted 10 years ago
Attachments:
POSTED BY: David Keith
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard