This file is indexed.

/usr/share/gtk-doc/html/libgwydgets/GwyAxis.html is in libgwyddion20-doc 2.34-3ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Gwyddion Widgets Library Reference Manual: GwyAxis</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Gwyddion Widgets Library Reference Manual">
<link rel="up" href="GraphWidgets.html" title="Graphs">
<link rel="prev" href="GwyGraphArea.html" title="GwyGraphArea">
<link rel="next" href="libgwydgets-GwyGraphBasics.html" title="GwyGraphBasics">
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
<td width="100%" align="left">
<a href="#" class="shortcut">Top</a>
                   | 
                  <a href="#GwyAxis.description" class="shortcut">Description</a>
                   | 
                  <a href="#GwyAxis.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#GwyAxis.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                   | 
                  <a href="#GwyAxis.properties" class="shortcut">Properties</a>
                   | 
                  <a href="#GwyAxis.signals" class="shortcut">Signals</a>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="GraphWidgets.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GwyGraphArea.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="libgwydgets-GwyGraphBasics.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GwyAxis"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GwyAxis.top_of_page"></a>GwyAxis</span></h2>
<p>GwyAxis — Axis with ticks and labels</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GwyAxis.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;libgwydgets/gwydgets.h&gt;

struct              <a class="link" href="GwyAxis.html#GwyAxis-struct" title="struct GwyAxis">GwyAxis</a>;
struct              <a class="link" href="GwyAxis.html#GwyAxisClass" title="struct GwyAxisClass">GwyAxisClass</a>;
                    <a class="link" href="GwyAxis.html#GwyAxisParams" title="GwyAxisParams">GwyAxisParams</a>;
<a href="http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GwyAxis.html#gwy-axis-new" title="gwy_axis_new ()">gwy_axis_new</a>                        (<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> orientation</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GwyAxis.html#gwy-axis-set-logarithmic" title="gwy_axis_set_logarithmic ()">gwy_axis_set_logarithmic</a>            (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_logarithmic</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GwyAxis.html#gwy-axis-set-visible" title="gwy_axis_set_visible ()">gwy_axis_set_visible</a>                (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_visible</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GwyAxis.html#gwy-axis-is-visible" title="gwy_axis_is_visible ()">gwy_axis_is_visible</a>                 (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GwyAxis.html#gwy-axis-is-logarithmic" title="gwy_axis_is_logarithmic ()">gwy_axis_is_logarithmic</a>             (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/gtk/gtk3-Standard-Enumerations.html#GtkPositionType"><span class="returnvalue">GtkPositionType</span></a>     <a class="link" href="GwyAxis.html#gwy-axis-get-orientation" title="gwy_axis_get_orientation ()">gwy_axis_get_orientation</a>            (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GwyAxis.html#gwy-axis-set-auto" title="gwy_axis_set_auto ()">gwy_axis_set_auto</a>                   (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_auto</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GwyAxis.html#gwy-axis-request-range" title="gwy_axis_request_range ()">gwy_axis_request_range</a>              (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> min</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> max</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GwyAxis.html#gwy-axis-get-range" title="gwy_axis_get_range ()">gwy_axis_get_range</a>                  (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *min</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *max</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GwyAxis.html#gwy-axis-get-requested-range" title="gwy_axis_get_requested_range ()">gwy_axis_get_requested_range</a>        (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *min</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *max</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>             <a class="link" href="GwyAxis.html#gwy-axis-get-magnification" title="gwy_axis_get_magnification ()">gwy_axis_get_magnification</a>          (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>);
const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="GwyAxis.html#gwy-axis-get-magnification-string" title="gwy_axis_get_magnification_string ()">gwy_axis_get_magnification_string</a>   (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GwyAxis.html#gwy-axis-set-label" title="gwy_axis_set_label ()">gwy_axis_set_label</a>                  (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);
const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="GwyAxis.html#gwy-axis-get-label" title="gwy_axis_get_label ()">gwy_axis_get_label</a>                  (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GwyAxis.html#gwy-axis-set-si-unit" title="gwy_axis_set_si_unit ()">gwy_axis_set_si_unit</a>                (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code><a href="../libgwyddion/GwySIUnit.html"><span class="type">GwySIUnit</span></a> *unit</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GwyAxis.html#gwy-axis-enable-label-edit" title="gwy_axis_enable_label_edit ()">gwy_axis_enable_label_edit</a>          (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GwyAxis.html#gwy-axis-draw-on-drawable" title="gwy_axis_draw_on_drawable ()">gwy_axis_draw_on_drawable</a>           (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk2/gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk2/gdk2-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> xmin</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> ymin</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Strings.html#GString"><span class="returnvalue">GString</span></a> *           <a class="link" href="GwyAxis.html#gwy-axis-export-vector" title="gwy_axis_export_vector ()">gwy_axis_export_vector</a>              (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> xmin</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> ymin</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> fontsize</code></em>);
const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> *     <a class="link" href="GwyAxis.html#gwy-axis-get-major-ticks" title="gwy_axis_get_major_ticks ()">gwy_axis_get_major_ticks</a>            (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *nticks</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GwyAxis.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
         +----<a href="/usr/share/gtk-doc/html/gtk2/GtkObject.html">GtkObject</a>
               +----<a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html">GtkWidget</a>
                     +----GwyAxis
</pre>
</div>
<div class="refsect1">
<a name="GwyAxis.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GwyAxis implements
 AtkImplementorIface and  <a href="/usr/share/gtk-doc/html/gtk3/GtkBuildable.html">GtkBuildable</a>.</p>
</div>
<div class="refsect1">
<a name="GwyAxis.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GwyAxis.html#GwyAxis--auto" title='The "auto" property'>auto</a>"                     <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GwyAxis.html#GwyAxis--label" title='The "label" property'>label</a>"                    <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
  "<a class="link" href="GwyAxis.html#GwyAxis--line-thickness" title='The "line-thickness" property'>line-thickness</a>"           <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GwyAxis.html#GwyAxis--major-length" title='The "major-length" property'>major-length</a>"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GwyAxis.html#GwyAxis--major-maxticks" title='The "major-maxticks" property'>major-maxticks</a>"           <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GwyAxis.html#GwyAxis--major-thickness" title='The "major-thickness" property'>major-thickness</a>"          <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GwyAxis.html#GwyAxis--minor-division" title='The "minor-division" property'>minor-division</a>"           <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GwyAxis.html#GwyAxis--minor-length" title='The "minor-length" property'>minor-length</a>"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GwyAxis.html#GwyAxis--minor-thickness" title='The "minor-thickness" property'>minor-thickness</a>"          <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GwyAxis.html#GwyAxis--outer-border-width" title='The "outer-border-width" property'>outer-border-width</a>"       <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GwyAxis.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="GwyAxis.html#GwyAxis-rescaled" title='The "rescaled" signal'>rescaled</a>"                                       : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
</pre>
</div>
<div class="refsect1">
<a name="GwyAxis.description"></a><h2>Description</h2>
<p>
<a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> is used for drawing axis. It is namely used within <a class="link" href="GwyGraph.html" title="GwyGraph"><span class="type">GwyGraph</span></a>
widget, but it can be also used standalone. It plots a horizontal or
vertical axis with major and minor ticks, with ranges in the requested
interval.
</p>
</div>
<div class="refsect1">
<a name="GwyAxis.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GwyAxis-struct"></a><h3>struct GwyAxis</h3>
<pre class="programlisting">struct GwyAxis;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyAxisClass"></a><h3>struct GwyAxisClass</h3>
<pre class="programlisting">struct GwyAxisClass {
    GtkWidgetClass parent_class;

    void (*rescaled)(GwyAxis *axis);

    void (*reserved1)(void);
    void (*reserved2)(void);
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyAxisParams"></a><h3>GwyAxisParams</h3>
<pre class="programlisting">typedef struct {
    gint major_length;
    gint major_thickness;
    gint major_maxticks;
    GwyAxisScaleFormat major_printmode;

    gint minor_length;
    gint minor_thickness;
    gint minor_division;          /*minor division*/

    gint line_thickness;

    PangoFontDescription *major_font;
    PangoFontDescription *label_font;
} GwyAxisParams;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gwy-axis-new"></a><h3>gwy_axis_new ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         gwy_axis_new                        (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> orientation</code></em>);</pre>
<p>
Creates a new axis.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>orientation</code></em> :</span></p></td>
<td>axis orientation</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>New axis as a <a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-axis-set-logarithmic"></a><h3>gwy_axis_set_logarithmic ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_axis_set_logarithmic            (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_logarithmic</code></em>);</pre>
<p>
Sets logarithmic mode.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>graph axis</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>is_logarithmic</code></em> :</span></p></td>
<td>logarithmic mode</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-axis-set-visible"></a><h3>gwy_axis_set_visible ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_axis_set_visible                (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_visible</code></em>);</pre>
<p>
Sets the visibility of an axis.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>An axis.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>is_visible</code></em> :</span></p></td>
<td>visibility</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-axis-is-visible"></a><h3>gwy_axis_is_visible ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gwy_axis_is_visible                 (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>);</pre>
<p>
Determines whether axis is set to be visible.
</p>
<p>
Return: <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>axis</code></em> is set to be visible.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>An axis.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-axis-is-logarithmic"></a><h3>gwy_axis_is_logarithmic ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gwy_axis_is_logarithmic             (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>);</pre>
<p>
Determines whether axis is set to be locarithmic.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>An axis.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>axis</code></em> is logarithmic.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-axis-get-orientation"></a><h3>gwy_axis_get_orientation ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk3/gtk3-Standard-Enumerations.html#GtkPositionType"><span class="returnvalue">GtkPositionType</span></a>     gwy_axis_get_orientation            (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>);</pre>
<p>
Gets the orientation of an axis.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>An axis.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The orientation.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-axis-set-auto"></a><h3>gwy_axis_set_auto ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_axis_set_auto                   (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_auto</code></em>);</pre>
<p>
Enables or disables automatic axis adjustmet.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>An axis.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>is_auto</code></em> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to enable automatic tick size and distribution adjustment,
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to disable it.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-axis-request-range"></a><h3>gwy_axis_request_range ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_axis_request_range              (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> min</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> max</code></em>);</pre>
<p>
Sets the requisition of axis boundaries.
</p>
<p>
The axis will adjust the boundaries to satisfy requisition but still have
reasonable tick values and spacing.  Use <a class="link" href="GwyAxis.html#gwy-axis-get-range" title="gwy_axis_get_range ()"><code class="function">gwy_axis_get_range()</code></a> to obtain the
boundaries the axis actually decided to use.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>An axis.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>min</code></em> :</span></p></td>
<td>Minimum requisition (min boundary value).</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max</code></em> :</span></p></td>
<td>Maximum requisition (max boundary value).</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-axis-get-range"></a><h3>gwy_axis_get_range ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_axis_get_range                  (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *min</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *max</code></em>);</pre>
<p>
Gets the actual boundaries of an axis.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>An axis.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>min</code></em> :</span></p></td>
<td>Location to store actual axis minimum, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max</code></em> :</span></p></td>
<td>Location to store actual axis maximum, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-axis-get-requested-range"></a><h3>gwy_axis_get_requested_range ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_axis_get_requested_range        (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *min</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *max</code></em>);</pre>
<p>
Gets the requested boundaries of an axis.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>An axis.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>min</code></em> :</span></p></td>
<td>Location to store requested axis minimum, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max</code></em> :</span></p></td>
<td>Location to store requested axis maximum, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-axis-get-magnification"></a><h3>gwy_axis_get_magnification ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>             gwy_axis_get_magnification          (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>Axis widget</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>Magnification value of the axis</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-axis-get-magnification-string"></a><h3>gwy_axis_get_magnification_string ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gwy_axis_get_magnification_string   (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>);</pre>
<p>
Gets the magnification string of an axis.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>An axis.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>Magnification string of the axis, owned by the axis.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-axis-set-label"></a><h3>gwy_axis_set_label ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_axis_set_label                  (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
<p>
Sets the label text of an axis.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>An axis.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The new label text (it can be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for an empty label).</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-axis-get-label"></a><h3>gwy_axis_get_label ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gwy_axis_get_label                  (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>);</pre>
<p>
Gets the label of an axis.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>An axis.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>Axis label as a string owned by <em class="parameter"><code>axis</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-axis-set-si-unit"></a><h3>gwy_axis_set_si_unit ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_axis_set_si_unit                (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code><a href="../libgwyddion/GwySIUnit.html"><span class="type">GwySIUnit</span></a> *unit</code></em>);</pre>
<p>
Sets the axis unit. This will be added automatically
to the label. <em class="parameter"><code>unit</code></em> is duplicated.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>An axis.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td>
<td>axis unit</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-axis-enable-label-edit"></a><h3>gwy_axis_enable_label_edit ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_axis_enable_label_edit          (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);</pre>
<p>
Enables/disables user to change axis label by clicking on axis widget.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>Axis widget</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>enable</code></em> :</span></p></td>
<td>enable/disable user to change axis label</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-axis-draw-on-drawable"></a><h3>gwy_axis_draw_on_drawable ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_axis_draw_on_drawable           (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk2/gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk2/gdk2-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> xmin</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> ymin</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
<p>
Draws the x and y-axis on a drawable
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>An axis.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
<td>Drawable to draw on.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
<td>Graphics context.
It is modified by this function unpredictably.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>xmin</code></em> :</span></p></td>
<td>The minimum x-axis value.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ymin</code></em> :</span></p></td>
<td>The minimum y-axis value.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
<td>The width of the x-axis.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
<td>The height of the y-axis.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-axis-export-vector"></a><h3>gwy_axis_export_vector ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Strings.html#GString"><span class="returnvalue">GString</span></a> *           gwy_axis_export_vector              (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> xmin</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> ymin</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> fontsize</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>An axis.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
<td>width of the x-axis</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
<td>hieght of the y-axis</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-axis-get-major-ticks"></a><h3>gwy_axis_get_major_ticks ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> *     gwy_axis_get_major_ticks            (<em class="parameter"><code><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *axis</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *nticks</code></em>);</pre>
<p>
Gets the positions of major ticks of an axis.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>An axis.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>nticks</code></em> :</span></p></td>
<td>Location to store the number of returned ticks.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The positions of axis major ticks (as real values, not pixels).
The returned array is owned by the axis.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GwyAxis.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GwyAxis--auto"></a><h3>The <code class="literal">"auto"</code> property</h3>
<pre class="programlisting">  "auto"                     <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Autoscale ticks with changing content.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyAxis--label"></a><h3>The <code class="literal">"label"</code> property</h3>
<pre class="programlisting">  "label"                    <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>Axis label (without units).</p>
<p>Default value: ""</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyAxis--line-thickness"></a><h3>The <code class="literal">"line-thickness"</code> property</h3>
<pre class="programlisting">  "line-thickness"           <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Axis main line thickness.</p>
<p>Allowed values: [0,20]</p>
<p>Default value: 5</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyAxis--major-length"></a><h3>The <code class="literal">"major-length"</code> property</h3>
<pre class="programlisting">  "major-length"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Major ticks length.</p>
<p>Allowed values: [0,20]</p>
<p>Default value: 5</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyAxis--major-maxticks"></a><h3>The <code class="literal">"major-maxticks"</code> property</h3>
<pre class="programlisting">  "major-maxticks"           <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Major ticks maximum number.</p>
<p>Allowed values: [0,50]</p>
<p>Default value: 5</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyAxis--major-thickness"></a><h3>The <code class="literal">"major-thickness"</code> property</h3>
<pre class="programlisting">  "major-thickness"          <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Major ticks thickness.</p>
<p>Allowed values: [0,20]</p>
<p>Default value: 5</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyAxis--minor-division"></a><h3>The <code class="literal">"minor-division"</code> property</h3>
<pre class="programlisting">  "minor-division"           <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Minor ticks division.</p>
<p>Allowed values: [0,20]</p>
<p>Default value: 5</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyAxis--minor-length"></a><h3>The <code class="literal">"minor-length"</code> property</h3>
<pre class="programlisting">  "minor-length"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Minor ticks length.</p>
<p>Allowed values: [0,20]</p>
<p>Default value: 5</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyAxis--minor-thickness"></a><h3>The <code class="literal">"minor-thickness"</code> property</h3>
<pre class="programlisting">  "minor-thickness"          <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Minor ticks thickness.</p>
<p>Allowed values: [0,20]</p>
<p>Default value: 5</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyAxis--outer-border-width"></a><h3>The <code class="literal">"outer-border-width"</code> property</h3>
<pre class="programlisting">  "outer-border-width"       <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>The extra amount of space left on the outer side of an axis.  This space is also retained when axis is set non-visible.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 5</p>
</div>
</div>
<div class="refsect1">
<a name="GwyAxis.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GwyAxis-rescaled"></a><h3>The <code class="literal">"rescaled"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> *gwyaxis,
                                                        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)      : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
<p>
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gwyaxis</code></em> :</span></p></td>
<td>the object which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GwyAxis.see-also"></a><h2>See Also</h2>
<a class="link" href="GwyColorAxis.html" title="GwyColorAxis"><span class="type">GwyColorAxis</span></a> -- Axis with a false color scale,
           <a class="link" href="GwyRuler.html" title="GwyRuler"><span class="type">GwyRuler</span></a> -- Horizontal and vertical rulers
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.19</div>
</body>
</html>