Hello, I have some data that I want to view with a filled surface plot but my data are all 1D waves. I read through the section on multidimensional waves but I am not very skilled at programming so I wasn't able to gain much insight. I have 25 columns of data with the first being the date of sample collection, and the rest being the hourly sampling interval. Then however many rows for the number of days the data goes back. If my description is not too terribly helpful I have attached a table with a sample of what I am working with.
What I would like to accomplish is to create a filled surface plot from the data with the X axis corresponding to the date, the Y corresponding to the hour the measurement was taken, and then the Z axis representing the measured value. What do I need to do in order to accomplish this?
First note that Gizmo does not support any sort of date format so at least initially stash your date information somewhere else and move on. Looking at your H waves the appear to be all of the same number of rows so all you need to do is concatenate them into a single 2D matrix. The appropriate IGOR command is
Concatenatewavelist("H*",";",""), MatrixH
Next, Open your Data Browser (if it is not already open), right-click on the icon of MatrixH and choose Gizmo Plot. You will see the Date plotted along the x-direction and the H's plotted along the y-direction.
You can now modify the Gizmo plot by editing the various objects you see in the Gizmo Info Window. If you do not see that window right-click in the main Gizmo window and choose "Show Info". In particular, you can edit the axes0 object to assign user defined tickmark values and labels.
First note that Gizmo does not support any sort of date format so at least initially stash your date information somewhere else and move on. Looking at your H waves the appear to be all of the same number of rows so all you need to do is concatenate them into a single 2D matrix. The appropriate IGOR command is
Concatenatewavelist("H*",";",""), MatrixH
Next, Open your Data Browser (if it is not already open), right-click on the icon of MatrixH and choose Gizmo Plot. You will see the Date plotted along the x-direction and the H's plotted along the y-direction.
You can now modify the Gizmo plot by editing the various objects you see in the Gizmo Info Window. If you do not see that window right-click in the main Gizmo window and choose "Show Info". In particular, you can edit the axes0 object to assign user defined tickmark values and labels.
I hope this gets you on the right track.
A.G.
WaveMetrics, Inc.
I tried the Concatenate command and it tells me there is a syntax error about expecting a right parenthesis.
This is what I typed into the command line. Concatenatewavelist("H1","H2","H3","H4","H5","H6","H7","H8","H9","H10","H11","H12","H13","H14","H15","H16","H17","H18","H19","H20","H21","H22","H23","H24"), MatrixH
You may want to try the command as I typed it. The whole idea of using "H*" is to save the trouble of typing in all matches to names that start with 'H'.
You may want to try the command as I typed it. The whole idea of using "H*" is to save the trouble of typing in all matches to names that start with 'H'.
Ah, ok, I don't know the first thing about programming so I didn't understand the significance of how you typed that out. The command worked and I now have the plot I wanted. Now I just need to work on analysis. Thanks.
Next, Open your Data Browser (if it is not already open), right-click on the icon of MatrixH and choose Gizmo Plot. You will see the Date plotted along the x-direction and the H's plotted along the y-direction.
You can now modify the Gizmo plot by editing the various objects you see in the Gizmo Info Window. If you do not see that window right-click in the main Gizmo window and choose "Show Info". In particular, you can edit the axes0 object to assign user defined tickmark values and labels.
I hope this gets you on the right track.
A.G.
WaveMetrics, Inc.
May 30, 2015 at 12:00 am - Permalink
I tried the Concatenate command and it tells me there is a syntax error about expecting a right parenthesis.
This is what I typed into the command line.
Concatenate wavelist("H1","H2","H3","H4","H5","H6","H7","H8","H9","H10","H11","H12","H13","H14","H15","H16","H17","H18","H19","H20","H21","H22","H23","H24"), MatrixH
June 1, 2015 at 07:44 am - Permalink
June 1, 2015 at 08:22 am - Permalink
Ah, ok, I don't know the first thing about programming so I didn't understand the significance of how you typed that out. The command worked and I now have the plot I wanted. Now I just need to work on analysis. Thanks.
June 1, 2015 at 04:27 pm - Permalink