【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.1.14.1.26 set_show_axis
Contents
Description
Show or hide axes on layer.
Syntax
bool set_show_axis( GraphLayer gl, int nAxis, bool bShow1st = true, bool bShow2nd = false )
Parameters
- gl
- [input] The graph layer whose axes to be hidden or shown
- nAxis
- [input] if XAXIS, the x axes will be operated on; if YAXIS, the y axes will be operated on
- bShow1st
- [input] if 0, the first axis (left axis or bottom axis) will be hidden; if 1, the first axis will be shown
- bShow2nd
- [input] if 0, the second axis (right axis or top axis) will be hidden; if 1, the second axis will be shown
Return
true if success, else false.
Examples
EX1
//For this example to run, a graph layer must exist and be active in the project bool show_right_hide_left() { GraphLayer gl=Project.ActiveLayer(); return set_show_axis(gl, YAXIS, 0, 1); }
Remark
See Also
Header to Include
origin.h