Home | History | Annotate | Download | only in massif

Lines Matching refs:graph

47 # Graph x and y dimensions.
71 --x=<4..1000> graph width, in columns [72]
72 --y=<4..1000> graph height, in rows [20]
341 # - the graph
477 # Setup for graph.
479 # The ASCII graph.
482 # The rest ([1][1]..[graph_x][graph_y]) is the usable graph area.
483 my @graph;
492 # Setup graph[][].
493 $graph[0][0] = '+'; # axes join point
494 for ($x = 1; $x <= $graph_x; $x++) { $graph[$x][0] = '-'; } # X-axis
495 for ($y = 1; $y <= $graph_y; $y++) { $graph[0][$y] = '|'; } # Y-axis
496 $graph[$graph_x][0] = '>'; # X-axis arrow
497 $graph[0][$graph_y] = '^'; # Y-axis arrow
500 $graph[$x][$y] = ' ';
505 # Write snapshot bars into graph[][].
558 $graph[$x2][$prev_y_max] = $prev_char;
577 $graph[$x][$y] ne $peak_char
581 $graph[$x][$y] ne $peak_char and
582 $graph[$x][$y] ne $detailed_char
587 $graph[$x][$y] = $char;
597 # Print graph[][].
618 printf("%s", $graph[$x][$y]);