I am using Origin 6.0 and try to plot some data. Unfortunately the major and minor ticks for the x and y axis are not shown although I have sent the showaxes=1 command. This is due to the tickwidth being set to 0 as default. As soon as I sent the command for setting the tickwidth Origin crashes with the message: Origin60.exe has generated errors and will be closed by Windows. You will need to restart the program.
My Labtalk code is:
win -n plot Test; #Creat window for plot page -o l; #Set page to landscape format layer -w Data1 1 0 2 0 200; #Plot column 1 and 2 to layer 1 layer 68.2 64.6 17.9 18.8; #Set layersize layer -at;
quote:This [win -n] option is not recommended for creating graph windows. Use the win -t command option instead.
win -t is much better because you can save most of the graph settings in the template. Default graph template is Origin.otp. Open with Open Template button, change layer size, tick options, etc. as desired then select File->Save Template As. Name it MyTemplate.otp or whatever you like. Instead of 'win -n plot Test' use
win -t plot MyTemplate Test;
Most of the layer commands in your script will be unnecessary.