in reply to Matrix kind of graph

What is a "matrix graph"? What axis should it have, and what data should be plotted along which axis?

Looking at your small excerpt it seems to me you could combine @x and @y into a single array and use it as labels on the x axis, and you could use @z as the values on the y axis.

Replies are listed 'Best First'.
Re^2: Matrix kind of graph
by jthomas (Acolyte) on Feb 24, 2011 at 07:25 UTC

    Hi Mortiz,

    Yes that can be done, But in my case it's going to be huge number of combination (Cartesian). So X values going to be really messy.

    My idea was, graph will be having one X-Axis with X values and one Y-Axis with Y values. There will not be any Z axis but in the canvas it'll show the values.

      So it sounds you either want a 3D plot, or a density plot/heat map where the z value is encoded in the color.

      I have done neither with Perl so far, but these key words should give you an idea what to search for. A quick search showed up tridens, which might do what you want.