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
 Extract data from heat map

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
JuLCAR Posted - 11/26/2019 : 09:38:36 AM
Hi,
I would like to extract data from a heat map. Something like the "worksheet query" but for matrix. Is it possible ? I would like it to be recalculate if I change datas.

Thank you very much!
8   L A T E S T    R E P L I E S    (Newest First)
lkb0221 Posted - 12/05/2019 : 10:59:06 AM
Maybe you can try contour/image profile with an arbitrary profiling line. Set the width and Sum mode, then after getting the profile, cut of the head and tail.
JuLCAR Posted - 11/28/2019 : 09:20:54 AM
quote:
Originally posted by minimax

Hi JuLCAR,

If your heatmap data is from matrix window, you may take a look at following unsatisfactory workaround?

1. Activate matrix window, select View - Image Mode.
2. Click the green rectangle toolbar to draw a rectangle on the matrix.
3. Move the rect to the desirable region, right click to select "Create New".
--> It will extract the data.

Is it OK?

Of course it does not support circle etc. shape yet.

And do you need circle only, or some irregular shape?


PS1: There is an App "Plot Sub Matrix":
https://www.originlab.com/FileExchange/details.aspx?fid=228

You may also try it.

PS2: It is appreciated that you can send to tech@originlab.com some sample project (with the "rotated rect") so that we can take a further check?



Thank you minimax, the solution with Image Mode is interesting and usefull but it only does "straight" rectangles. I am able to rotate the rectangle to select an area of interest but the matrix created from this rotated selection is a "straight" rectangle wich include my rotated selection...
I send an image of my heat map, with the two area I want to extract (basicaly, I want the total intensity in those areas).

Thank you again for helping
minimax Posted - 11/28/2019 : 04:14:19 AM
Hi JuLCAR,

If your heatmap data is from matrix window, you may take a look at following unsatisfactory workaround?

1. Activate matrix window, select View - Image Mode.
2. Click the green rectangle toolbar to draw a rectangle on the matrix.
3. Move the rect to the desirable region, right click to select "Create New".
--> It will extract the data.

Is it OK?

Of course it does not support circle etc. shape yet.

And do you need circle only, or some irregular shape?


PS1: There is an App "Plot Sub Matrix":
https://www.originlab.com/FileExchange/details.aspx?fid=228

You may also try it.

PS2: It is appreciated that you can send to tech@originlab.com some sample project (with the "rotated rect") so that we can take a further check?
YimingChen Posted - 11/27/2019 : 1:31:13 PM
Data highlighter is introduced in Origin 2019. Thanks.

James
JuLCAR Posted - 11/27/2019 : 10:24:08 AM
Thank you for your help James but I can't find the highlighter tool on my Origin (Origin Pro 2018). It should be with the data reader one but there is only data cursor. Anyway, I found a trick : I just apply a rotation of pi/4 to my datas so that the areas I want to extract now correspond to rectangles and I can use a worksheet query or a filter. (Only works if the area of interest is initially a rotated rectangle...)

quote:
Originally posted by YimingChen

No, Origin doesn't support selecting data from heatmap. This may not help you but if you have XYZ data plotted as contour plot, you can use data highlighter to extract data. But data highlighter doesn't work for plot generated from matrix. Thanks.

James

YimingChen Posted - 11/26/2019 : 2:16:57 PM
No, Origin doesn't support selecting data from heatmap. This may not help you but if you have XYZ data plotted as contour plot, you can use data highlighter to extract data. But data highlighter doesn't work for plot generated from matrix. Thanks.

James
JuLCAR Posted - 11/26/2019 : 10:37:44 AM
quote:
Originally posted by YimingChen

Hi,

You can convert the matrix to worksheet(Matrix->Convert to Worksheet), run worksheet query and convert the result back to matrix. Set the recalculation mode in each tool dialog to Auto that any change in the initial matrix will trigger the recalculation and update the result.

Thank you
James



Yes I found this solution just after posting the question ! This should get the job done. Actually, I would like to select an area in my heat map, but not a squared one, an area I circle by hand on the map and extract the data from this area but I don't think it is possible with Origin.
YimingChen Posted - 11/26/2019 : 10:27:25 AM
Hi,

You can convert the matrix to worksheet(Matrix->Convert to Worksheet), run worksheet query and convert the result back to matrix. Set the recalculation mode in each tool dialog to Auto that any change in the initial matrix will trigger the recalculation and update the result.

Thank you
James

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