LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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: 627
Blog Entries: 1

Rep: Reputation: 48
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, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
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: 627

Original Poster
Blog Entries: 1

Rep: Reputation: 48
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, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
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 (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
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 Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,849

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
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 (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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



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 07:24 AM.

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