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
 accessing palette
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

couturier

France
291 Posts

Posted - 02/19/2015 :  06:42:36 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 2015 SR1
Operating System: Win7

I'd like to have a getnbox similar to the colormap fill box (the one you get when clicking the Fill col in PlotDetail/Colormap tab) when one can choose mixing colors and palette.

Is it possible ?

cdrozdowski111

USA
247 Posts

Posted - 02/19/2015 :  12:42:28 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hey,

I don't know if this helps but I'll put it out there (I was just working with it a few days ago). If it's not what you need, sorry.

If you want to operate on an existing colormap in an existing graph layer, you can access the "Fill" dialog directly via LabTalk by running:

menu -e 38080;


Just for completeness, you can access the "Set Levels" dialog via:

menu -e 38079;


The caveat is that the layer must be manually selected before running that command. I could find no way to select the layer in LT.

If using Origin C, I assume you can call that LT command via the OC LabTalk Interface: http://www.originlab.com/doc/OriginC/ref/LabTalk-Interface

Edited by - cdrozdowski111 on 02/19/2015 12:43:00 PM
Go to Top of Page

couturier

France
291 Posts

Posted - 02/20/2015 :  04:27:59 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Chris,

Thank you so much for those very usefull informations.
In my case I wanted to include these options into a Getnbox with others things but maybe I can build an independent GetnBox that will launch menu -e 38080 with a button.

thanks
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