Creating a crossplot
I want to create a crossplot of two grids so that for each node the values from the two grids are used as horizontal and vertical coordinates in a graph. I suppose the hard route is to export both grids as XYZ ascii files and use Excel to match the values for the two grids. Can anyone suggest a neater way of doing this within Surfer?
Grateful for advice.
-
Hello Simon,
Yes, you can do this easily in Surfer 14:
- Save one of your grid files as a DAT file.
- Click Grids | Calculate | Point Sample. The Point Sample dialog opens.
- In the Input Grid field, select your second grid file.
- In the XY Data field, select your saved DAT file.
- In the Data Columns field, select columns A and B for your X and Y coordinates.
- Set the Store Z values in column field to D.
- Click OK.
This will give the value files for the two grids in the C and D columns of the DAT file.
Best wishes,
Justine Carstairs
Technical Support
P 303.279.1021 -
Thanks, Justine. That's a great suggestion. I've successfully made the crossplot I wanted, and colour coded the plotted points.
I have a question about the Legend option in Surfer 14 with a coloured Post Map, using the Numeric via colormap option: I set the limits for the colours to be different from the data limits in the file, but when I produced a Legend for the colours the Legend always uses the data limits from the file, and I can't find a way to change it. Is there a way to match the Legend limits to the Post Map limits?
-
Hello Simon,
Great!
You are correct that there is no way to edit the legend text of a post map. I will add a vote on your behalf for this functionality to our feature request system. In the meantime, you can achieve the same effect by drawing a white polygon over the text and typing correct values over the top.
Best wishes,
Justine Carstairs
Technical Support
P 303.279.1021
Please sign in to leave a comment.
Comments
3 comments