in reply to Matrix kind of graph

It took me some time to figure out what you might want.

You want to represent a set of 3D points in a 2D plane with the z coordinates plotted as values?

This can only work if 2 points never have the same x/y coordinates.

Like showing a map for New York's skyscraper's from above by plotting the heights, this can only work because buildings "rarely" share the same coordinates.

Are you sure your data fits into this criteria?

Anyway the words "matrix" and "graph" are misleading, graphs are normally represented as connected lines, not plotted points.

And representations of matrices have a equidistant grid, i.e. a tabular structure.

If the latter is the case (and that's what your data looks like) you could simply use perl's format to plot your z-values.

Cheers Rolf

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

    Hi All, thanks for the responses.

    To get more clarity, I have uploaded one sample graph here

      The linked graph is a type of scattergram, but it is quite hard to relate that to your sample data?


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
      You want to represent z-values by colors within a x/y-grid?

      Cheers Rolf

        Yes that's what i would like to have