"win -t plot" is a LabTalk Command while "newpanel" is an X-Function. The "window -t plot" command has very few options and has traditionally been used when you want to load a specific template file, while the X-Function has many options and is much more powerful. Type "newpanel -h" of "help newpanel" in the Script Window to see the options.
Here is how to add top x and right y to the current layer: layer.x.showaxes=3; layer.y.showaxes=3; Consult the LabTalk Object documentation for LAYER.
Hi Greg, thank you for the explanation. I have book LabTalk scripting guide for Origin 8.5 and I try find in help in Origin but I dont found more about layer. Please where can I find it?
The Scripting Guide is a good overview, but for complete details, you should use the Programming Help file. In the Help menu, choose Programming : LabTalk.
Look in Language Reference\Object Reference\Alphabetic Listing of Objects\Layer.Axis