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 for Programming
 Forum for Origin C
 Waterfallplot
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

wafler

2 Posts

Posted - 07/14/2009 :  11:49:42 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): Origin 7.5 SR7
Operating System: Windows

Dear all,

I started using Origin C to automate some calculations just a few days ago. I managed to find out, how to do most of the things, I want to do, but now I have gotten stuck with a problem!

I have sets of data, each in a worksheet, containing one X column and about 20 Y columns. The most useful way to plot them, is in my opinion by a 3D-Waterfall-Plot.

My problem now is, that I cant find out, how I can create a waterfall plot using "Origin C". It would be much help, if I didnt have to invoke the plotting manually for each set of data, so any hints would be really appreciated!

Thanks in advance, and many greetings from Germany!
Wolfgang

Iris_Bai

China
Posts

Posted - 07/15/2009 :  01:45:41 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi, Wolfgang

Please activate your worksheet and run the following codes to plot 3D Waterfall.


void plot_3D_water_fall()
{
	Worksheet wks = Project.ActiveLayer();
	if(wks)
	{
		GraphPage gp;
		gp.Create("WATER3D");
		
		GraphLayer gl = gp.Layers();
		gl.AddPlot(wks, IDM_PLOT_3D_WALL);
	}
}



Iris
Go to Top of Page

wafler

2 Posts

Posted - 07/15/2009 :  05:17:24 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Iris!

Workes like a charm!
Tank you very much for the quick help.

Wolfgang
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