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
 creating EPS output of matrix image

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
TSSOrigin Posted - 05/25/2006 : 4:50:01 PM
Origin Version (Select Help-->About Origin): Origin 7 SR4
Operating System: Windows XP Pro

I have some real data in the range -1 to 1 in a 540 x 540 matrix. When I switch to image mode I am presented with a beautiful image. I want to output that image to an EPS file. When I try to do that with Export Image it tells me that I can only do that with integer data.

Do I really have to do the conversion myself or is there something simple I am missing?

Thanks for any help.

Tim Sullivan
5   L A T E S T    R E P L I E S    (Newest First)
TSSOrigin Posted - 05/30/2006 : 5:59:17 PM
Oh, man! Do I feel stupid...

The data was in an ASCII file in a single "column". I did File:Import ASCII to get the data in to my matrix. Then, I Matrix:Set Dimensions to turn it into a 540x540 matrix. In that same dialog box, I set the coordinates. Only I set the coordinates incorrectly. I transposed the text boxes in my mind, so instead of x running from 0 to 1 and y running from 0 to 1, I had x running from 0 to 0 and y running from 1 to 1. THe key to figuring this out was to use View:Show X/Y in data mode.

Once I got this straight, Plot: Image Plot works just fine.

Thanks for putting up with me!

Tim
easwar Posted - 05/30/2006 : 5:04:49 PM
Hi Tim,

I wonder if this has something specific to do with your data...
Can you do the following?
-> Start a new default Origin matrix and fill with some values such as say x*y using the matrix Set Values dialog
-> Make an image plot of this matrix

Do you get a proper plot?

Please then contact tech support for help if you do not get any image plot. If the problem seems to be specific to just that matrix, try seting color levels using Plot Details dialog, or just call tech support for help with this as well.

Easwar
OriginLab


TSSOrigin Posted - 05/30/2006 : 4:50:10 PM
Thanks, Mike and Easwar for the help.

Setting data type to int(4) truncated my data to -1, 0, or 1 depending on the particular value. So not the plot I wanted. I did make some progress using Matrix:Set Values to do my own scaling to the range 0-255.

Using Plot:Image Plot was more what I expected Origin to have the capability to do. And for the figure I am trying to create for a journal article, I do want to have axes and labels, etc. But when I try this, the resulting plot has axes, but the field is blank. Any suggestion what I am doing wrong?

Tim
easwar Posted - 05/26/2006 : 4:49:04 PM
Hi Tim,

Note that you can also make an Image Plot, which is an Origin Graph type, by using the menu item Plot->Image Plot with your matrix active. In that case the data does not need to be converted. Plus the plot shows axes and you can add annotation such as title etc, and also change color mapping using Plot Details dialog, prior to exporting.

Easwar
OriginLab




Edited by - easwar on 05/26/2006 4:50:56 PM
Mike Buess Posted - 05/25/2006 : 5:24:34 PM
Hi Tim,

Select Matrix > Set Properties and change the Internal Data Type to int(4).

Mike Buess
Origin WebRing Member

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