| T O P I C R E V I E W |
| daliss |
Posted - 04/25/2006 : 04:57:56 AM Origin Version (Select Help-->About Origin): OriginPro7.5 Operating System:WinXP
Hi,
I wrote a script to add top and right layer into current graph with no tick label:
layer -n Both; layer.X2.ticks=0; layer.Y2.ticks=0; layer.X2.showlabels=0; layer.Y2.showlabels=0;
But the result is wrong, there is no top and right layer adding to it. Only some additional ticks appeared in left Y axis (as shown in Figure 1). If I firstly execute a part of this script (from line 1 to line 3), then execute the remainder part (from line 4 to line 5). That is ok.
I don't know why it can't be execute one-step?
Thanks in advance.
William Peng
 |
| 3 L A T E S T R E P L I E S (Newest First) |
| verrallr@a |
Posted - 04/27/2006 : 11:42:15 AM There is a Theme in Theme Gallery that automatically puts upper and right axes in, with no ticks. It is called "Opposite Lines". You can access it by using Format - Theme Gallery.
If you put it as your "System Theme", then the graphs you create (henceforth) will all have these extra axes in place. |
| daliss |
Posted - 04/25/2006 : 10:10:59 PM Thanks a lot, Mike. |
| Mike Buess |
Posted - 04/25/2006 : 4:58:05 PM Hi William,
Insert a short delay after the layer -n command...
layer -n Both; sec -p 0.1; // wait 0.1 seconds layer.X2.ticks=0; layer.Y2.ticks=0; layer.X2.showlabels=0; layer.Y2.showlabels=0;
Mike Buess Origin WebRing Member
Edited by - Mike Buess on 04/25/2006 4:58:26 PM |