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
 Forum for Origin C
 using text from dataset for tick marks
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

mlschneider

USA
Posts

Posted - 03/29/2006 :  7:00:19 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version: 7.5 SR6
Operating System:Win XP

Hi,

Is it possible to set my Tick Labels as Text from dataset in a contour plot using Origin C? I have used this option manually. The dataset that I want to use is numerical but mirrored (e.g. -10...0...-10).

Thanks!

larry_lan

China
Posts

Posted - 03/29/2006 :  10:44:54 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
hi mlschneider:

I think it may be much easier to use Labtalk scripts to control the axis label, so you can execute labtalk scripts in your OC code.

Such as setting the X axis tick label in the active window, you can add the following line to your code:

LT_execute(layer.x.label.dataset$=Data1_C);

Supposed Data1_C is your label text.

Larry
OriginLab GZ Office
Go to Top of Page

mlschneider

USA
Posts

Posted - 03/30/2006 :  3:57:34 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Larry,

LT_execute("layer.x.label.dataset$=Data1_C");

works prefectly.

Thanks,
mike
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