T O P I C R E V I E W |
entepankopf |
Posted - 04/30/2015 : 08:09:43 AM Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 9.1.OG Operating System: Windows 7
Hello,
I am programming an OriginCSkript and I've got an problem with the legend. My code including my function for updating the Ledend is
legend_update(vocstabilityDataGraphLayer, ALM_CUSTOM, true, true, "%(1, @WT, B, L)_0%(1, @WT, B, 1)");
The result is %(1, ###, B, L)_0%(1, ###, B, 1) instead of Pixel_01. If i click dobble on the legend and tipe in %(1, @WT, B, L)_0%(1, @WT, B, 1) I will get my result Pixel_01, but in the skript it does not work.
Do you've got any idea?
Regards, Ente
|
3 L A T E S T R E P L I E S (Newest First) |
jasonzhao |
Posted - 05/06/2015 : 10:49:49 PM Hello,
To better understand your questions, would you please illustrate it with screen shot?
Best regards! Jason OriginLab Technical Service |
entepankopf |
Posted - 05/06/2015 : 04:02:12 AM Hello,
thank you for the answer. My kind of problem is that I plot like you "longB" over "longA" and I got a third column "longC" where always the same device number is registered - say "C1". Now in the Legend I want the label "LongC_0C1". Is this automatically possible?
Regards, Ente |
jasonzhao |
Posted - 05/05/2015 : 04:48:13 AM Hello, Please check with the code and the results.
void legendTest()
{
string strCustomMode= "@LA_0@V";
printf("%s",strCustomMode);
GraphLayer gl = Project.ActiveLayer();
legend_update(gl, ALM_CUSTOM, true, true, strCustomMode);
return;
}
you can also refer to this page for further information. http://www.originlab.com/doc/LabTalk/ref/Legend-Substitution-Notation#Complete_List_of_.40Options
Best regards! Jason OriginLab Technical Service |
|
|