|
340 | 340 |
|
341 | 341 | You must understand some underlying concept of directions.
|
342 | 342 |
|
343 |
| - 1. There is a reference direction which is defined as the direction |
344 |
| - of the axis line with increasing coordinate. For example, the |
345 |
| - reference direction of the left x-axis is from bottom to top. |
| 343 | +- There is a reference direction which is defined as the direction |
| 344 | + of the axis line with increasing coordinate. For example, the |
| 345 | + reference direction of the left x-axis is from bottom to top. |
346 | 346 |
|
347 |
| - .. figure:: ../../gallery/axisartist/images/sphx_glr_axis_direction_demo_step01_001.png |
348 |
| - :target: ../../gallery/axisartist/axis_direction_demo_step01.html |
349 |
| - :align: center |
350 |
| - :scale: 50 |
| 347 | + The direction, text angle, and alignments of the ticks, ticklabels and |
| 348 | + axis-label is determined with respect to the reference direction |
351 | 349 |
|
352 |
| - Axis Direction Demo - Step 01 |
| 350 | +- *label_direction* and *ticklabel_direction* are either the right-hand side |
| 351 | + (+) of the reference direction or the left-hand side (-). |
353 | 352 |
|
354 |
| - The direction, text angle, and alignments of the ticks, ticklabels and |
355 |
| - axis-label is determined with respect to the reference direction |
| 353 | +- ticks are by default drawn toward the opposite direction of the ticklabels. |
356 | 354 |
|
357 |
| - 2. *ticklabel_direction* is either the right-hand side (+) of the |
358 |
| - reference direction or the left-hand side (-). |
| 355 | +- text rotation of ticklabels and label is determined in reference |
| 356 | + to the *ticklabel_direction* or *label_direction*, |
| 357 | + respectively. The rotation of ticklabels and label is anchored. |
359 | 358 |
|
360 |
| - .. figure:: ../../gallery/axisartist/images/sphx_glr_axis_direction_demo_step02_001.png |
361 |
| - :target: ../../gallery/axisartist/axis_direction_demo_step02.html |
362 |
| - :align: center |
363 |
| - :scale: 50 |
364 |
| -
|
365 |
| - Axis Direction Demo - Step 02 |
366 |
| -
|
367 |
| - 3. same for the *label_direction* |
368 |
| -
|
369 |
| - .. figure:: ../../gallery/axisartist/images/sphx_glr_axis_direction_demo_step03_001.png |
370 |
| - :target: ../../gallery/axisartist/axis_direction_demo_step03.html |
371 |
| - :align: center |
372 |
| - :scale: 50 |
373 |
| -
|
374 |
| - Axis Direction Demo - Step 03 |
375 |
| -
|
376 |
| - 4. ticks are by default drawn toward the opposite direction of the ticklabels. |
377 |
| -
|
378 |
| - 5. text rotation of ticklabels and label is determined in reference |
379 |
| - to the *ticklabel_direction* or *label_direction*, |
380 |
| - respectively. The rotation of ticklabels and label is anchored. |
381 |
| -
|
382 |
| - .. figure:: ../../gallery/axisartist/images/sphx_glr_axis_direction_demo_step04_001.png |
383 |
| - :target: ../../gallery/axisartist/axis_direction_demo_step04.html |
384 |
| - :align: center |
385 |
| - :scale: 50 |
386 |
| -
|
387 |
| - Axis Direction Demo - Step 04 |
| 359 | +.. figure:: ../../gallery/axisartist/images/sphx_glr_axis_direction_001.png |
| 360 | + :target: ../../gallery/axisartist/axis_direction.html |
| 361 | + :align: center |
| 362 | + :scale: 50 |
388 | 363 |
|
389 | 364 | On the other hand, there is a concept of "axis_direction". This is a
|
390 | 365 | default setting of above properties for each, "bottom", "left", "top",
|
|
0 commit comments