Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need to extract y-data from a graph in pdf file. Thinking of using
the mouse to click the end points to return me the distance. Is there a software for this?
You didn't mention which distribution and version of Linux you're using but you can try ScreenRuler. It might be available in your distribution's repositories.
Regards...
Last edited by ardvark71; 01-16-2017 at 10:59 AM.
Reason: Changed information.
Found screenruler on web. But I tried to yum install on Centos 6.6 but there seems none. Thanks.
Hi...
It might be found in another repository. Which ones do you have enabled?
Also, I found a "tarball" of this program here, although you may need some Ruby and/or Glade files to meet any dependency requirements, although I'm not sure what CentOS 6.6 has available and/or will the program will need precisely. You may need to use an older version of ScreenRuler depending on the version of Ruby.
Regards...
Last edited by ardvark71; 01-16-2017 at 11:34 AM.
Reason: Changed information.
the old carpenters auto retracting measuring tape is just not enough now days.
Quote:
I need to extract y-data from a graph in pdf file. Thinking of using
the mouse to click the end points to return me the distance. Is there a software for this?
it'd need to computate scale length to actual length
Code:
Length of line × N = Real length × 1
N = scale of line
the old carpenters auto retracting measuring tape is just not enough now days.
it'd need to computate scale length to actual length
Code:
Length of line × N = Real length × 1
N = scale of line
Yes...BUT you would also need to factor in:
The size of the graph ITSELF
How much that graph is scaled on the PDF as an image (the graph may have started out as 1280x1024, but be on the page as 320x200)
How much the PDF itself is scaled/zoomed when measurement is taken
..which would be near impossible to know, unless you were the author of the PDF/Graph to start with (are you, OP??) Your original post said you needed to extract the y-data...what do you mean here, since you follow it up with your need to know how long the line is? Distance on a graph line will tell you very little, since one inch (let's say) on a graph measuring a months worth of data, and one inch on a graph measuring a YEARS worth are still "one inch", but the data represented is going to be vastly different.
More information needed on your end goal and data sets, please.
that's why we need to know actually what is on the display, which program was used to draw what, was it 2d or 3d or something else, and what kind of distance is required (in pixel, in meter or in ???). Pdf probably includes an embedded image, but probably not....?
How much that graph is scaled on the PDF as an image (the graph may have started out as 1280x1024, but be on the page as 320x200)
How much the PDF itself is scaled/zoomed when measurement is taken
..which would be near impossible to know, unless you were the author of the PDF/Graph to start with (are you, OP??) Your original post said you needed to extract the y-data...what do you mean here, since you follow it up with your need to know how long the line is? Distance on a graph line will tell you very little, since one inch (let's say) on a graph measuring a months worth of data, and one inch on a graph measuring a YEARS worth are still "one inch", but the data represented is going to be vastly different.
More information needed on your end goal and data sets, please.
yep
pixels converted into inches depending on size of screen display to get distance from point a to point b. then you'd take that and put it to what the scale of the graff is and well it is quite difficult to say the lease. unless you're a math head.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.