File: README_V2

package info (click to toggle)
mathgl 2.4.2.1-5
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 32,488 kB
  • sloc: cpp: 81,486; ansic: 3,138; pascal: 1,562; python: 37; makefile: 17; sh: 7
file content (51 lines) | stat: -rw-r--r-- 2,174 bytes parent folder | download | duplicates (4)
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
README for changes from v.1.*

There are few key changes at end-user level.

1. The structure of library is changed sufficiently.
   There are 4 levels now:

(a) Developer level (for people who want to improve library) contain
    classes for base plotting functions:

mglBase --> mglCanvas --> mglCanvasW  --> mglCanvasQT, mglCanvasFL
               |
               ---------> mglCanvasGL --> mglCanvasGLUT

(b) C&Fortran interface for plotting and data handlinng functions

(c) Unified "inline" classes (mglGraph, mglData, mglWindow, ...), which
    contain only inline members, which call C-functions. This make
    MathGL completely cross-platform, i.e. the same binary files can be
    used in any compiler (MinGW, MSVS, Borland, ...). Moreover it give
    the same classes for all interfaces (Python/Octave/...).

(d) MGL scripts use mglGraph's functions but give some extra
    capabilities for axis setup or textual plot editing

2. There is unified class mglGraph instead of set of mglGraphZB,
   mglGraphPS, ... The quality<->speed level of plot is specified by
   SetQuality() function.

3. There is abstract class mglDataA which allow to derive classes with
   its own data representation. However, I recommend to use mglData for
   usual cases -- it have large set of built in functions.

4. All plotting functions now have unified interface for arguments:
   data objects or numbers; string with style; string with options.
   Options (the same as ones in MGL v.1.*) allows one to make fine
   tuning of plot. I.e. easily set the range of coordinates, plot
   position, font size and so on.

5. The last big change is style representation. There are differences
   for colors and for text style:

*  Colors may have "brighted" version everywhere -- just specify '{cN}'
   instead of 'c'. Here 'c' is base color id, 'N' is digit 1,2...9 for
   brightness. Also the transparency can be changed by adding '{AN}'.

*  Text styles is reverted now -- to be unified with any other styles.
   Color is placed firstly, then separator ':', and after it font styles
   (bold, italic, wire, ...).

Also there are a lot of other (not so general) changes and improvements.