| T O P I C R E V I E W |
| tony_lincoln |
Posted - 06/20/2008 : 01:02:52 AM Hey,
I have 15 curves, which have different x and y coordinates. The format of the txt file for these 15 curves are like this:
curve_0 curve_1 curve_2 ... curve_15 x01 y01 x11 y11 x21 y21 ... x151 y151 x02 y02 x12 y12 x22 y22 ... x152 y152 x03 y03 x13 y13 x23 y23 ... x153 y153 x0n y0n x1n y1n x2n y2n ... x15n y15n
I can paste these curves into workbook in originpro ver 8, then choose them (make them black), then press right button of my mouse, choose plot/multi-curve/double-Y and plot them in a 2D way. The default color for these 15 curves is blue. I need to change the blue color for every curve into another color. So I can see these 15 curves together, which have specific color seperately.
My question 1 is, Can I change the curve color AUTOMATICALLY, using origin C programming or other skills? The input is one txt file which has the format mentioned above, The output is a 2D visualization of 15 curves with 15 different colors. Quesiton 2 is, How can I do the global fitting after the visualization? I guess that it is better to use Origin C programming as well?
Thank you very much and I appreciate your help! Tony |
| 1 L A T E S T R E P L I E S (Newest First) |
| Shirley_GZ |
Posted - 06/23/2008 : 02:58:37 AM Check that if the curves are grouped up by choosing Graph: Plot Setup to open the Plot Setup dialog box. If not, you can select all the curves and choose Group by right-click on the selected curves to group them up. After that, you can change the colors in this way: 1.Double click the graph to bring up the Plot Detail dialog box:
 2. Click Increment of Line Color in the Group tab, and then choose By One in the drop down list. The curve color will be changed automatically. You also can change the Edit Mode into Independent, in this way you can change the color of curves one by one.
In Origin 8.0, you don't need write Origin C programming to do global fitting, you can choose Analysis: Fitting: Nonlinear Curve Fit to open the NLFit dialog box, and then do the fitting as below:

Originlab Technical Service Team |
|
|