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
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Default set up for the Colour Fill Contour Plot

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
superman1 Posted - 11/07/2002 : 09:45:01 AM
Hello,

I have some how, I think by using "LT_execute" command, caused the default settings for the Colour Fill Contour Plot to be changed/erased. Now when using this plot the colour fill does not happen. Also when toggling it on, in the "Plot Details" window, the colour scheme has be changed from the previous preset one.

Can anyone help?

regards
Andrew
2   L A T E S T    R E P L I E S    (Newest First)
jiangwu Posted - 04/18/2003 : 9:55:30 PM
I writed a function to generate a matrix and display a contour plot.I also ploted a contour plot using Origin Plot/Contour plot/contour-color fill directly from the matrix.But the two plot are quite different.Why?Should I change some Origin options or is there something wrong with my program?

void MatrixContour()
{
//copy from Origin C Help
//fill a matrix
MatrixPage mat1;
mat1.Create("origin");
mat1.Rename("myMatrix");
Matrix <double> aa;
BOOL bRet = aa.Attach("myMatrix");
UINT rows = aa.GetNumRows();
UINT cols = aa.GetNumCols();
printf("rows = %d\t cols = %d\n", rows, cols);
for (int ii = 0; ii<rows; ii++)
for (int jj = 0; jj<cols; jj++)
{
aa[ii][jj]= sin (ii) + cos (jj);
}
//plot a contour plot
GraphPage grph;
string strTemp = "contour.otp";
BOOL bOK = grph.Create(strTemp, CREATE_VISIBLE);
GraphLayer grlay = grph.Layers(0); //layer 1
ASSERT(grlay.IsValid());
Curve cv("myMatrix"); // get Curve object
ASSERT(cv.IsValid());
bOK = 0 <= grlay.AddPlot(cv); // add data plot
if (!bOK)
return;
}
Laurie Posted - 12/04/2002 : 11:56:01 AM
When you plot a contour plot, you have 3 choices: contour-color fill, contour-b/w lines+labels, and gray scale map. Each of these is based on its own graph template: contour.otp, contline.otp, and contgray.otp.

Without knowing more, my guess is that maybe you're now using the contline.otp file which would create just a black and white contour line plus labels plot.



OriginLab Technical Support

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000