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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 problem with export graph
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

joss31

France
33 Posts

Posted - 05/06/2014 :  04:06:13 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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.

greg

USA
1378 Posts

Posted - 05/06/2014 :  09:57:25 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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 ..."
Go to Top of Page

joss31

France
33 Posts

Posted - 05/06/2014 :  10:27:33 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you it's good dimension now.
And is there a command for plot my graph in a layout model or something like that?

Edited by - joss31 on 05/07/2014 08:26:06 AM
Go to Top of Page

ethelfxm

USA
1 Posts

Posted - 05/08/2014 :  07:16:02 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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/

Edited by - ethelfxm on 07/01/2014 3:28:26 PM
Go to Top of Page

greg

USA
1378 Posts

Posted - 05/08/2014 :  10:19:01 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000