Axes Redesign: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
(→‎Features: Add oblique text orientation)
 
(One intermediate revision by the same user not shown)
Line 71: Line 71:
|[[Image:TestLegendScaleActor.png|thumb|left|300px|vtkLegendScaleActor:TestLegendScaleActor.png]]
|[[Image:TestLegendScaleActor.png|thumb|left|300px|vtkLegendScaleActor:TestLegendScaleActor.png]]
|}
|}
=Some other applications=
*Matlab
{|
|http://mathcs.holycross.edu/~spl/MATLAB/19.gif
|http://petervieth.com/uploads/images/cabinet/graph.jpg
|http://www.aquaphoenix.com/lecture/matlab7/images-large/assignment_terrain_graph2.jpg
|}
* TecPlot: http://www.tecplot.com/showcase/gallery/index.aspx
{|
| http://www.tecplot.com/images/showcase/contours/issue_28/xy_d.gif
| http://www.tecplot.com/images/showcase/gallery/polar/tecplot_polar_flower.gif
|}
*Gnuplot: http://gnuplot.sourceforge.net/demo/
** [http://gnuplot.sourceforge.net/demo_4.3/tics.html ticmarks]
** [http://gnuplot.sourceforge.net/demo_4.3/surface1.html 3D axis]
*

Latest revision as of 22:15, 14 July 2009

Features

  • Choose the position of the Title and Subtitle (VTop,VMiddle,VBottom, HRight, HLeft, HMiddle)
--------------------------------------------------------------------
|vtop/hleft                 vtop/hmiddle                vtop/hright|
|                                                                  |
|                    ^                                             |
|                    |                                             |
|                    |                                             |
|                    |                                             |
|                    |                                             |
||vmiddle/hleft     y|    vmiddle/hmiddle            vmiddle/hright|
|                    |                                             |
|                    |                                             |
|                    |                                             |
|                    0---------------------->                      |
|                                x                                 |
|                                                                  |
||vbottom/hleft          vbottom/hmiddle             vbottom/hright|
--------------------------------------------------------------------
  • Give more control on the axis titles:
    • Position: inside/outside
           ^
           |
Y(outside) | Y(inside)
           |
           |     X(inside)
           o----------------->
                 X(outside)
    • Position min/middle/max
       Y(max)   ^
                |
                |
                |
      Y(middle) | 
                |
                |
       Y(min)   o------------------------------->
                X(min)     X(middle)           X(max)
    • Rotation: horizontal/vertical/oblique/auto/3D
> threshold ? Vertical : Horizontal
3D: text orientation = axis orientation
    • Label font size:
      • Fixed (in px)
      • Relative to Viewport (see vtkTextActor)
      • Relative to Axes
    • ?Spacing between label and axes?
      • Adjust the positions of the Y labels so that they don't overlap with the chart
    • Style:italic/bold/shadow/color/?antialiasing?...
  • Feature: Add a grid 9007
  • Feature: Add more axis ticks 9007
  • Support subscripts:
    • how ?
      • ?Qt overlay?
    • FTGL currently supports Unicode fonts

Current bugs

  • Bug fixes on the existing axes actor: (list the current bugs here)

Current existing actors

vtkCubeAxesActor,vtkCubeAxesActor2D:CubeAxes2.png
vtkXYPlotActor:xyPlot2.png
vtkLegendScaleActor:TestLegendScaleActor.png

Some other applications

  • Matlab
19.gif graph.jpg assignment_terrain_graph2.jpg
xy_d.gif tecplot_polar_flower.gif