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
 problem with export graph

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
joss31 Posted - 05/06/2014 : 04:06:13 AM
Hello, (labtalk, origin 6.1)

I try to export some graph in jpg type, so I found in the labtalk manual the object reference for export an image. But when I use export.image my image is export but not with good dimension. As you can see:


so i use origin 6.1 and this method:

win -a %N;// Active the graph name save in %N
label -xb Time(sec); // Rename axis x "Time(sec)"
label -yl Voltage(V);// Rename axis y "Voltage(mV)"
win -r %H %K;
legend -p;

export.image(%K, JPG);
export.image.types$;


so thank you for your attention and for you're help in advance.
4   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 05/08/2014 : 10:19:01 AM
While Speed Mode can be toggled On and Off (using the Graph : Speed Mode menu option or Format : Layer : [Size/Speed] : Speed Mode check boxes), it's likely that you only sometimes see Speed Mode when the number of datapoints exceeds the Speed Mode number of points setting for the Template you are using. For example, in 9.1, the maximum points to display when Speed Mode is On is 3000 for the Scatter plot Template.
Each Template has its own setting.
ethelfxm Posted - 05/08/2014 : 07:16:02 AM
I had never heard of speed mode. I was having this same issue maybe once for every three exports or so. Any reason why it would sometimes work and sometimes not? I suppose speed mode was being toggled on and off but how? Anyway, problem solved now that I know about it.
_________________________
http://googlesniperw.com/
joss31 Posted - 05/06/2014 : 10:27:33 AM
Thank you it's good dimension now.
And is there a command for plot my graph in a layout model or something like that?
greg Posted - 05/06/2014 : 09:57:25 AM
Your graph in Origin is in Speed Mode which displays a limited subset of points determined by a setting in Format : Layer : [Size/Speed].
The default in Origin is to export graphs without Speed Mode so you see a partial set of data inside Origin and the complete set in your exported image.
To turn Speed Mode OFF (and see all the data in Origin):
Select Format : Layer : [Size/Speed] and uncheck "Worksheet data ..."
To make your export use Speed Mode:
Select Format : Page : [Miscellaneous] and check "If speed mode ..."

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