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
 Origin Forum
 Matrix values: IF condition

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
benderrr Posted - 03/31/2008 : 08:17:30 AM
Origin Version (Select Help-->About Origin): 7.5
Operating System: XP

Hi,

I have a 2D-matrix filled via SET VALUES and have it plotted with a 3D color map surface. Now I want to plot only those cells, for which something like i*j > 15 holds. The other cells i,j should be empty. Or, if that's not possible, they should or get a negative value (my z-coordinate range is positive, only). Is this possible?

regards,
Bernhard
2   L A T E S T    R E P L I E S    (Newest First)
benderrr Posted - 04/01/2008 : 04:18:40 AM
Dear Fay,

Thanks very much, it's exactly what I was looking for.

Best regards,

Bernhard
Fay_Guo Posted - 04/01/2008 : 02:56:42 AM
Hi Bernhard,

Could you try to type
(i*j>15)? i*j:-1
in your Set Values dialog?

Please note that, the formula before colon is for the hold cells, whose i * j is bigger than 15. The formula later is for other cells.

Hope it can help you.





Thanks
Fay
Originlab Technical Service

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