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
 SPECTRUM1 ERROR

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
scxc Posted - 01/06/2022 : 10:19:15 AM
Hi All,

I've generated a heatmap using data from an xyz sparse matrix dataset with the following command.

run.section(Plot3D,HeatMap);

A color bar is included in the new heatmap graph.

When using the SPECTRUM1 commands to edit the colorbar's properties, I get error prompts.

Command:
Spectrum1.levels.major=2

Error:
SPECTRUM1.LEVELS.MAJOR is illegal name for defining a variable
unknown error in expression assignment


I ran the list -o command and it returned the following,

1 3 __BCO2, 0x0f0c70e8
2 3 3D, 0x00a03f08
3 0 XB, 0x00a03b18
4 0 YL, 0x00a00548
5 3 ZCOLORS, 0x00a01118
6 3 3DCOLOR, 0x00a03c68
7 3 SPECTRUM1, 0x00a01268
8 7* _226, 0x00a04988


How do I get around this error and change the properties of the colorbar, using the Spectrum1 commands?

I'm running Origin 2015.

Thank you,
1   L A T E S T    R E P L I E S    (Newest First)
YimingChen Posted - 01/06/2022 : 5:29:46 PM
Can you check two things?
1> Hold on the Alt key and double click on the color bar? Check whether the object name is SPECTRUM1.
2> When you run the command, is the heatmap graph the active window?

Thank you
James

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