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

sebbey

Germany
70 Posts

Posted - 06/06/2012 :  03:19:30 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver.: 8.6.0G
Operating System: Windows 7 Professional

Hi Guys,

I have a problem with the contour plot labels. I create a contour plot (blue in the pic below) with contour labels. Then I add new layers to this graph window and create some line+symbol plots (red in the pic below).

Now the problem is, that the line+symbol plots conceal the contour labels. To avoid this, I tried to use the layswap xfunction, in order to arrange the contour layer on top of the others, but this didn't work out. after searching for a long time i have to ask for help, because as you can see in the picture below, the graph does not look very good.




i should maybe mention, that i used the

layer1.plot1.contourlabels.whiteout=1;


function. the labels have a white background and are therefore not concealed by the contour plot lines. the problem is only caused by the newly added line+symbol plots.

I hope someone is able to help me with this problem!
Thanks in advance,
sebbey

Sam Fang

293 Posts

Posted - 06/06/2012 :  06:52:41 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
layswap is used to swap layer's position, not layer order. To swap layer order, you can use script:
page.reorder(1,2);


which will change the 1st layer to be the 2nd layer.

You can also use Transparency to show labels. e.g. set line+symbol's Transparency to 50%.

Sam
OriginLab Technical Services
Go to Top of Page

sebbey

Germany
70 Posts

Posted - 06/06/2012 :  07:28:20 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you Sam,

it worked!
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