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

Re^4: Bucketing,Slicing and Reporting data across multiple dimensions

by Voronich (Hermit)
on Aug 17, 2011 at 20:36 UTC ( #920794=note: print w/replies, xml ) Need Help??

in reply to Re^3: Bucketing,Slicing and Reporting data across multiple dimensions
in thread Bucketing,Slicing and Reporting data across multiple dimensions

hey thanks very much. I'm sufficiently familiar with dot files from Doxygen in my C++ stuff, so this isn't going to be SO out there. I'll definitely pick this up, noodle with it and let you know how it goes. o/

UPDATE:Yes, the last column is just the difference between the two test runs (the previous two columns) so it measure the impact of the other changes that were made between the baseline and the test.
  • Comment on Re^4: Bucketing,Slicing and Reporting data across multiple dimensions

Replies are listed 'Best First'.
Re^5: Bucketing,Slicing and Reporting data across multiple dimensions
by pvaldes (Chaplain) on Aug 17, 2011 at 22:22 UTC

    maybe the idea of a %colorhash could be refined... I'm thinking that there is not a good way to indicate a range as a key

    my $color = "lightgrey"; while (<DATA>) # chomp and split next if (impact = 0); $plot->add_node($idname, label => $idname"); # parent node if ($impact in range(1..10){ $plot->add_edge($idname => $fooname, color => "darkblue"); } elsif ($impact in range(11..30){ $plot->add_edge($idname => $fooname, color => "blue"); } elsif ($impact in range(31..50){ $plot->add_edge($idname => $fooname, color => "cyan"); } # etc ... else { $plot->add_edge($idname => $fooname, color => "red"); } } # we close the while loop # and create the plot...

    we can choose a range of custom colors from blue to red, white to black or something like this. And we could also wish to ignore all nodes with an impact of, for example, <40

    The final plot will be typically very big, thus to ignore some low impact nodes can be a good idea

    For the same reason a vector (svg) file is a good output extension. pdf is also good, you can zoom it a selection a lot, but you will need to convert an eps to a pdf, and can get lost in the process.

    Of course, there are caveats: The big files with thousands of nodes are always a little problematic creature for viewing purposes, I really wish to be able to fit all the scaled plot in the firefox or inkscape screen

    And you need always a lot of patience when you try to create a plot like this. It takes some time to compile, (in fact can take a LOT of time with big node nets) but we can't be very fussy when we try to push thousands of nodes connected by thousands of lines in a single plot

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://920794]
[karlgoethebier]: moans
[karlgoethebier]: ...because of sausage and luncheon meats...
[karlgoethebier]: ... the ultimate coding experience for everyday people...
[karlgoethebier]: me
[marto]: what a mess

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2017-12-14 10:27 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (389 votes). Check out past polls.