//
// <-- Short Description -->
// set or get 'format_n' property from an axes crash scilab.
-plot2d(1:10,1:10,1,"020")
+plot2d(1:10,1:10,1,strf="020")
drawaxis(x=2:7,y=4,dir='u',tics='v')
e=gce();
-e.format_n
- ans =
-
-
-e.format_n='%0.0fcm'
+assert_checkequal(e.format_n, "");
+// Check that the display does not crash
+e.format_n = "%0.0fcm"
e =
Handle of type "Axis" with properties:
tics_style = "v"
sub_tics = 2
tics_labels = ["2cm","3cm","4cm","5cm","6cm","7cm"]
+format_n = "%0.0fcm"
labels_font_size = 0
labels_font_color = -1
+labels_font_style = 6
fractional_font = "off"
clip_state = "off"
clip_box = []
user_data = []
+tag =
+assert_checkequal(e.format_n, "%0.0fcm");
+assert_checkequal(e.tics_labels, string(2:7)+"cm");