Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Data visualisation.

by Laurent_R (Canon)
on Jan 04, 2014 at 00:48 UTC ( [id://1069219]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Let the coordinates of A be (0, 0) and B (0, 633). C is 257 someunits 
    +(let's say meters, we don't care) from A and 390 m from B.
    
    ...
    Similarly:
    x² + y² = 257²
    <=> x = +/- sqrt ( 257² - y²)
    
  2. or download this
    use strict;  
    use warnings;
    ...
    sub distance {
        return abs (sqrt (($_[0][0] - $_[1][0])**2 + ($_[0][1] - $_[1][1])
    +**2) - $_[2]);
    }
    
  3. or download this
    use strict;  
    use warnings;
    ...
    E: 120  62  68
    F: 68  52  93
    G: 53  125 64
    
  4. or download this
    $ perl  coordinates2.pl
    $VAR1 = {
    ...
                       90
                     ]
            };
    
  5. or download this
    A 0 0
    B O 90
    C 55 35
    ...
    E 60 114
    F 64 55
    G 45 -29
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1069219]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-04-19 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found