LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 01-16-2017, 10:28 AM   #1
centguy
Member
 
Registered: Feb 2008
Posts: 518
Blog Entries: 1

Rep: Reputation: 39
software to measure length on screen


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?
 
Old 01-16-2017, 10:54 AM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,277
Blog Entries: 3

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
Hi...

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.
 
Old 01-16-2017, 10:58 AM   #3
centguy
Member
 
Registered: Feb 2008
Posts: 518

Original Poster
Blog Entries: 1

Rep: Reputation: 39
Found screenruler on web. But I tried to yum install on Centos 6.6 but there seems none. Thanks.
 
Old 01-16-2017, 11:18 AM   #4
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,277
Blog Entries: 3

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
Quote:
Originally Posted by centguy View Post
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.
 
Old 01-16-2017, 11:18 AM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
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
 
Old 01-16-2017, 11:35 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,920

Rep: Reputation: 7017Reputation: 7017Reputation: 7017Reputation: 7017Reputation: 7017Reputation: 7017Reputation: 7017Reputation: 7017Reputation: 7017Reputation: 7017Reputation: 7017
Quote:
Originally Posted by BW-userx View Post
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.
 
Old 01-16-2017, 11:46 AM   #7
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 16,604

Rep: Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604
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....?
 
1 members found this post helpful.
Old 01-16-2017, 11:51 AM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
Quote:
Originally Posted by TB0ne View Post
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.
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.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Software to measure the entropy of random data Ulysses_ Linux - Security 3 09-27-2010 08:47 PM
Power measure software rgrandl Linux - Software 1 08-06-2009 05:02 PM
Software to measure throughput jeejasmin Linux - Software 0 04-03-2008 02:35 PM
Setting Bash Screen Scrollback Length? (Shift + Page Up) juanbobo Linux - Software 1 06-14-2006 10:01 AM
Help. Image software to measure area moonsun Linux - Software 0 09-04-2003 06:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration