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
 LabTalk Forum
 matrix -> contour

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
LucSerre Posted - 01/21/2005 : 09:17:26 AM
Origin Version (Select Help-->About Origin): 6.1
Operating System: win2k

Ok, I have data in a matrix ready to plot.

So far, it took me about 1 hour to figure out this command.

win -t plot contour %A;

How do I assign my data to be ploted to this graph?
and what commands should I look up in the Help files pretaining to modifying the graph and changing its options.

Thanks,
Luc
11   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 01/24/2005 : 09:01:09 AM
I see nothing like that on the contour plots that I create. However, I can create such label like this...

label "\l(1) Data";

You must have added a similar command to your script. To get rid of the line remove \l(1) from your label command.

Mike Buess
Origin WebRing Member
LucSerre Posted - 01/24/2005 : 08:28:35 AM
Its not a legand, its....um...
FOr example, when you plot two lines on a plain yx graph, you have to make a legand to set them appart.
Contour plot does that by using diffrent colors.
As well as those diffrent colors there is a small black line with the name of my matrix beside it " ---- Data". That is why i'm trying to get rid of.
Mike Buess Posted - 01/21/2005 : 4:35:26 PM
quote:
I want to remove this, but when I do that, it also removes the Text I added on my graph.
I don't quite understand. How did you add the text in the first place? It doesn't sound like a contour plot legend.

Mike Buess
Origin WebRing Member
LucSerre Posted - 01/21/2005 : 3:12:23 PM
Thats too bad...ah well. There is always the good ol ruler and pencil when I print it. :)

Posibly my last Question,
My matrix is called 'data', therefor I have on my plot a little box that goes like this "____Data" showing me that the balck line is assigned to the data called 'data'.
I want to remove this, but when I do that, it also removes the Text I added on my graph.
Thanks
Mike Buess Posted - 01/21/2005 : 2:44:12 PM
I'm afraid you can't put tick labels on that line... it's just a marker, not an axis.

Mike Buess
Origin WebRing Member
LucSerre Posted - 01/21/2005 : 2:34:48 PM
Ok, the line that is created by layer.X.atZero=1, how do i get ticks on that one.
I can get ticks on x, x2, y and y2, but I don't know how to do ticks on that one.
LucSerre Posted - 01/21/2005 : 1:32:21 PM
Thanks Mr Buess
Mike Buess Posted - 01/21/2005 : 12:44:03 PM
-...to turn off Speed mode.
There is no LabTalk setting for speed mode for matrix data. You have to turn off speed mode in the Layer Properties dialog and save the graph template.

-...to change the height of the label (the legend)
Change the font size...

legend.fsize=24; // or whatever size you want

Afraid I can't help with your other questions since I rarely use contour graphs.

Mike Buess
Origin WebRing Member
LucSerre Posted - 01/21/2005 : 12:12:29 PM
Now I'm just looking for the command name that I need to look at in order to:

-...to turn off Speed mode.
-...to enable the "Introducing other colors in mixing" option.
-...to change the height of the label (the legend)
-...to adjust the maximum level pretaining to the levels (just above the "interval" ratio button.
-...to adjust the interval.

I find that the hardest task when it comes to learning a new programming language (LabTalk for me) is not knowing what to look up in the help. Its almost impossible to read ALL of the help file and still remember enough to make a diffrence.
Searching in this forum is pretty usefull too, but once again, its hard to know what the KEYWORDS to search for are.

Thanks,
Luc S

Edited by - LucSerre on 01/21/2005 12:14:02 PM
LucSerre Posted - 01/21/2005 : 09:56:37 AM
Thanks again!
You seem to be always there to help out anyone who needs help!

Cudos to you!

I'll look into layer and layer.axis
Thanks.
Mike Buess Posted - 01/21/2005 : 09:47:12 AM
Hello again Luc,

%A=plotName;
%M=matrixName;
win -t plot contour %A;
layer -i %M; // add matrix data to plot
lay -a; // rescale

Graph modifications are scattered but you can start with the layer and layer.axis objects.

Mike Buess
Origin WebRing Member

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