T O P I C R E V I E W |
Robin S. |
Posted - 04/16/2019 : 06:40:18 AM Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 2019 (64-bit) 9.6.0.172 Operating System: Windows
Hello everyone, I'm currently trying to plot a cut through a column along the z-axis. I have different layers, each with 5 points with the same x-coordinates, the y-values are constant (0). Each layer has a constant z-value (see below) . Afterwards, I want to color the plot depending on given values (water content, ion current etc.). So in the end, it should look similar to this:
I made this one with Matlab and want to reproduce it with Origin.
Should be pretty easy, but I've got the following problem: when I try to plot it (with 3d colored surface), it works without an error, but there is literally no plot. The graph is empty, which I don't understand.
My data looks like this (1st layer)
X 37 18 0 -18 -37 Y 0 0 0 0 0 Z 25 25 25 25 25
(2nd layer)
X 37 18 0 -18 -37 Y 0 0 0 0 0 Z 30 30 30 30 30
...
so only the Z value changes.
If i change the Z and the Y axis it works, but I'd like to plot it the way it is (z is the height)
If someone knows why my plot is empty, I'd be really greatful for your help.
Best regards,
Robin |
3 L A T E S T R E P L I E S (Newest First) |
YimingChen |
Posted - 04/18/2019 : 2:56:37 PM Hi Robin,
Please organize the data like the worksheet shown below. The width of each strip on the plane is set as Z values. 1. Highlight all the Z columns, select from menu Plot:3D:3D Stacked Bars.. 2. Double click on the stacked column, switch to Outline tab. Uncheck Keep Shape. Set X Direction Bar Width to maximum, Y Direction Bar Width to Minimum. 3. Click OK. You can adjust the X,Y axis range as desired.
James |
Robin S. |
Posted - 04/18/2019 : 02:56:02 AM quote: Originally posted by YimingChen
Hi Robin,
To make such graph, please follow the steps below: 1. Select from menu File:New:Function Plot:3D Parametric Function Plot... 2. Click the triangle button to the right of Theme and select Y Const Plane. Then set u From -40 to 40, v From 25 to 60. Set Y(u,v)=0, click OK. 3. Rotate the 3D graph to adjust X,Y axis orientation. Double click on the Plane in the graph to launch Plot Details dialog. 4. Go to Fill tab, set Contour fill from matrix to self. Switch to Mesh tab, disable mesh. Switch to Colormap/Contours tab, click Column header Level, set Major Levels to 9, Minor Levels to 0. Click OK to see the result.
James
Hey James, thanks a lot for your help. I've followed your steps and got the same graph as you, so that worked out. Is there a way to use my data instead of given values? The data I've posted is only the first of like 16 layers, which I'd like to use in the same Graph.
Robin |
YimingChen |
Posted - 04/16/2019 : 09:29:21 AM Hi Robin,
To make such graph, please follow the steps below: 1. Select from menu File:New:Function Plot:3D Parametric Function Plot... 2. Click the triangle button to the right of Theme and select Y Const Plane. Then set u From -40 to 40, v From 25 to 60. Set Y(u,v)=0, click OK. 3. Rotate the 3D graph to adjust X,Y axis orientation. Double click on the Plane in the graph to launch Plot Details dialog. 4. Go to Fill tab, set Contour fill from matrix to self. Switch to Mesh tab, disable mesh. Switch to Colormap/Contours tab, click Column header Level, set Major Levels to 9, Minor Levels to 0. Click OK to see the result.
James
|
|
|