The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 3D plot
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

manasgartia

USA
9 Posts

Posted - 04/18/2010 :  4:44:54 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): Origin Pro V8.0988
Operating System:Window Vista SP-1


Hi,
I want to generate a plot as shown in first figure. I have basically XY data set as each location and I want a 3-D plot showing clearly each spectrum and finally the projection.

The second figure (right side) is what I got using the 3D-surface map in origin. Here the problem is, the spectra are merged and can't be separated from one another. I tried 3D-water fall and 2D water fall as well. But the surface projection can't be generated with water fall.

Please help.

Thanks

Manas

mrgartia

AmandaLu

439 Posts

Posted - 04/19/2010 :  05:48:46 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

To create a 3D surface plot like the left graph, you can show Y grid lines only. That is:

1. Double-click on the 3D surface plot to open the Plot Details dialog.

2. Go to the Grids tab on the right panel. Select Y Grid Lines Only from the Enable Grids drop-down list.

3. In the Grid Color box, select White or other color you like for Single.

Click Apply button to see the change.
Go to Top of Page

manasgartia

USA
9 Posts

Posted - 04/19/2010 :  3:40:17 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,
Thanks a lot for the help. I could create the figure as per your suggestion. Last thing is how to get the bottom base plane (like the blue one) on the left figure. Also any way to remove the rest of the color from the projection plane except the desired part.

Thanks again for the help.

Manas

quote:
Originally posted by AmandaLu

Hi,

To create a 3D surface plot like the left graph, you can show Y grid lines only. That is:

1. Double-click on the 3D surface plot to open the Plot Details dialog.

2. Go to the Grids tab on the right panel. Select Y Grid Lines Only from the Enable Grids drop-down list.

3. In the Grid Color box, select White or other color you like for Single.

Click Apply button to see the change.



mrgartia
Go to Top of Page

AmandaLu

439 Posts

Posted - 04/19/2010 :  11:05:28 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi mrgartia,

To create this kind of 3D plot you want, you need to create two 3D graphs, one for Color Map Surface and the other for bottom Contour, and then merge them into one graph. That is:

1. Create a 3D Color Map Surface plot and duplicate it. Now you have two graphs, Graph1 and Graph2 for example.

2. In Graph1, double-click on the graph to open the Plot Details dialog box. Customize the graph as mentioned before.

3. Then go to the Surface/Projections tab. Uncheck Fill Color checkbox in Bottom Contour column. Click OK to close the dialog.

4. In Graph2, double-click on the graph to open the Plot Details dialog. Go to the Color Map tab and customize the color for bottom color map. For example, change the Fill colors below a specific level into White.

5. Go to the Grids tab and set Enable Grids to None. Then go to Surface/Projections tab and uncheck the Fill Color in Surface column. Click OK.

6. Select Graph: Merge Graph Windows... from the main menu. It opens merge_graph dialog box. Make sure only Graph1 and Graph2 selected in the Graphs box. Expand Arrange Settings branch, change Number of Rows and Columns to 1 X 1. You can see the merged graph in the Preview panel.

Click OK to execute.
Go to Top of Page

manasgartia

USA
9 Posts

Posted - 04/28/2010 :  5:40:35 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply



Hi AmandaLu,
The best I could generate is the attached figure. But still the area under the curve is empty. How to fill the area under the curve in a 3-D color map. Also is there any way to make the contour smooth. Do I have to make the matrix large size when I am converting xyz to a matrix.

Thanks

Manas

mrgartia
Go to Top of Page

AmandaLu

439 Posts

Posted - 04/28/2010 :  11:02:16 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi manasgartia,

quote:

The best I could generate is the attached figure. But still the area under the curve is empty. How to fill the area under the curve in a 3-D color map.



You have to change Number of Rows and Number of Columns both to 1 when merging the two graph windows. You can find these settings under the Arrange Settings branch in merge_graph dialog. This makes the two graphs overlapped, so it looks like that the second graph's bottom contour under the first graph's surface plot.

quote:

Also is there any way to make the contour smooth. Do I have to make the matrix large size when I am converting xyz to a matrix.



Yes, you need to make a larger matrix when converting the worksheet data.
Go to Top of Page

cpyang

USA
1406 Posts

Posted - 04/30/2010 :  3:56:35 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
There is no need to use two layers to make this plot!

What you are asking is a good improvement that we should fix in our next version, but in the mean time, you can make this graph with some tricks, by plotting the same data twice in the layer.

1. Duplicate your data. There maybe some bug that if the two plots are from the same matrix, then there are might be problems in controlling the two plots independently.

2. Plot both as Colormap Surface. You can plot from one matrix, then use Plot Setup to add the second one.

3. Make the first plot to show only the bottom projection and the 2nd plot to show only the original.

4. Modify the colormap setting on the 1st plot such that you can hide those levels (as white).

CP

Go to Top of Page

salat

1 Posts

Posted - 09/11/2010 :  6:02:50 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I have related problem.
When I select "Y grid lines only" some lines in X direction also do appear, see attached figure.
How can I get rid of them?
Thank you.

Edited by - salat on 09/11/2010 6:04:15 PM
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000