SciFigs is not a professional library, but rather a series of tools that I developed during my Phd to achieve representations of scientific results. I tried to minimize the user actions necessary between the computation of results by any C++ or Fortran code and the production of high quality figures ready for publication.
All objects can be drawn on the screen as well as on any support: bitmap file (PNG, JPEG, BMP, ...), Postscript, high resolution printer, ... On the screen, all objects may appear on a sheet (QtbGraphicSheet) or as a child of other regular QWidget (e.g. in dialog box). Even when docked in a dialog box, the user can send the object to an external support. The printing properties (size and position counted in cm) are part of the object itself.
All properties of objects can be modified either by the developer inside the calculation code, by the user in an interactive way through dialog boxes, or by reloading existing ".mkup" files. ".mkup" files have an XML format and store all properties of objects. For QtbAxisWindow, the data part of the plot is not saved in such files. An extension to the ".mkup" format is provided by ".page" files which store both data and appearance. ".page" is the usual format for saving a whole sheet containing several objects.
QtbAxisWindow includes a simple but powerful layering mechanism. The content of graphs is made of layers. Each layer may be typed to plot curves, dots, cartesian grids, polar grids. Either the developer or the user can play with this layering to compare calculation results.
The application called "figue" shows a basic use of QtbGraphicSheet (see figure). It is also used to construct figures from a series of data plots grabbed here and there in calculation applications that uses the Scifigs library.
Snapshot of figue application with intensive use of SciFigs library
Any comments and suggestions are pretty welcome, both about this document and about the library itself.
SciFigs library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
SciFigs library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with SciFigs library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1.4.4