File: changelog.tex

package info (click to toggle)
pyxplot 0.9.2-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,312 kB
  • sloc: ansic: 50,373; xml: 1,339; python: 570; sh: 318; makefile: 90
file content (279 lines) | stat: -rw-r--r-- 14,591 bytes parent folder | download | duplicates (7)
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
% changelog.tex
%
% The documentation in this file is part of Pyxplot
% <http://www.pyxplot.org.uk>
%
% Copyright (C) 2006-2012 Dominic Ford <coders@pyxplot.org.uk>
%               2008-2012 Ross Church
%
% $Id: changelog.tex 1309 2012-09-19 12:19:29Z dcf21 $
%
% Pyxplot 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.
%
% You should have received a copy of the GNU General Public License along with
% Pyxplot; if not, write to the Free Software Foundation, Inc., 51 Franklin
% Street, Fifth Floor, Boston, MA  02110-1301, USA

% ----------------------------------------------------------------------------

% LaTeX source for the Pyxplot Users' Guide

\chapter{ChangeLog}
\index{ChangeLog}

\subsection*{2012 Sep 19: Pyxplot 0.9.2}

Version 0.9.2 corrects a large number of minor bugs.

\subsection*{2012 Aug 29: Pyxplot 0.9.1}

Version 0.9.1 is a minor update with new support for running Pyxplot on Raspberry Pi. It fixes SIGBUS errors in Pyxplot's math engine when run on armhf architectures.

\subsection*{2012 Aug 1: Pyxplot 0.9.0}

Version 0.9 is a major update. Many new data types have been introduced, each
of which has methods which can be called in an object-orientated fashion. These
include:

\begin{itemize}
\item {\bf Colors}, which can be stored in variables for subsequent use in vector graphics commands. The addition and subtraction operators act on colors to allow color mixing.
\item {\bf Dates}, which can be imported from calendar dates, unix times or Julian dates. Dates can be subtracted to give time intervals.
\item {\bf Lists} and {\bf dictionaries}, which can be iterated over, or used to feed calculated data into the {\tt plot} and {\tt tabulate} commands.
\item {\bf Vectors} and {\bf matrices}, which allow matrix algebra. These types interface cleanly with Pyxplot's vector-graphics commands, allowing positions to be specified as vector expressions.
\item {\bf File handles}, which allow Pyxplot to read data from files, or write data or logs to files.
\item {\bf Modules} and {\bf classes}, which allow object-orientated programming.
\end{itemize}

In addition, Pyxplot's range of operators has been extended to include most of those in the C programming language, allowing expressions such as

\vspace{3mm}
\input{fragments/tex/fs_operators.tex}
\vspace{3mm}

\noindent to be written.

\subsubsection*{Incompatibilities with Pyxplot 0.8}

The extensions to Pyxplot in version 0.9 mean that some minor changes to syntax have been necessary. These include:

\begin{itemize}
\item Some functions and variables have been renamed. Variables whose names used to begin {\tt phy\_} now live in a module called {\tt phy}. They may be accessed as, for example, {\tt phy.c}. Similarly, random number generating functions now live in a module called {\tt random}; statistics functions in a module called {\tt stats}; time-handling functions in {\tt time}; operating system functions in {\tt os}; and astronomy functions in {\tt ast}. The contents of these modules can be listed by typing, for example, {\tt print phy}.
\item Custom colors, which used to be specified using syntax such as {\tt rgb0.2:0.3:0.4}, should now be specified using the {\tt rgb(r,g,b)} functions, as, for example, {\tt rgb(0.2,0.3,0.4)}. Custom colors can now be stored in variables for later use (see Section~\ref{sec:colorObjects}).
\item The range of escape characters which can be used in strings has been increased, so that, for example, {\tt $\backslash$n} is a newline and {\tt $\backslash$t} a tab. As in python, prepending the string with the character {\tt r} disables all escape character expansion. As backslashes are common characters in latex command strings, the easiest approach is to always prepend latex strings with an {\tt r}. As in python, triple quotes, e.g.\ {\tt r"""2 $\backslash$times 3"""} can be used where required (see Section~\ref{sec:latex_incompatibility}).
\item In the {\tt foreach} command, square brackets should be used to delimit lists of items to iterate over. The Pyxplot 0.8 syntax {\tt foreach i in (1,2,3)} should now be written {\tt foreach i in [1,2,3]} (see Section~\ref{sec:foreach}).
\end{itemize}

\subsection*{2011 Jan 7: Pyxplot 0.8.4}

\subsubsection*{Summary:}

This is a minor bugfix release.

\subsubsection*{Details:}

\begin{itemize}
\item Two-dimensional parametric grid plotting implemented.
\item Bugfix to the dots plot style; filled triangles replaces with filled circles.
\item Bugfix to linewidths used when drawing line icons on graph legends.
\item Bugfix to Makefile to ensure libraries link correctly under Red Hat and SUSE.
\item Code cleanup to ensure correct compilation with {\tt -O2} optimisation.
\end{itemize}

\subsection*{2010 Sep 15: Pyxplot 0.8.3}

\subsubsection*{Summary:}

This is a minor bugfix release.

\subsubsection*{Details:}

\begin{itemize}
\item @ macro expansion operator implemented.
\item assert command implemented.
\item for command behaviour changed such that {\tt for i=1 to 10} includes a final iteration with {\tt i}=10.
\item Point types rearranged into a more logical order.
\item Improved support for newer Windows bitmap images.
\item Bugfix to the {\tt set unit preferred} command.
\item Binary not operator bugfixed.
\item Bugfix to handling of comma-separated horizontal datafiles.
\item Mathematical function {\tt finite()} added.
\end{itemize}

\subsection*{2010 Aug 4: Pyxplot 0.8.2}

\subsubsection*{Summary:}

This release introduces three-dimensional plotting, as well as the ability to plot two-dimensional maps of functions as either color maps, contour plots, or as three-dimensional surfaces. A large number of bugs have also been fixed.

\subsubsection*{Details:}

\begin{itemize}
\item 3D plotting implemented.
\item New plot styles colormap, contourmap and surface added.
\item Interpolation of 2D datagrids and bitmap images implemented.
\item Stepwise interpolation mode added.
\item Dependency on libkpathsea relaxed to make installation under MacOS easier; linking to the library is still strongly recommended on systems where it is readily available.
\item Mathematical functions {\tt frac-tal\_\-julia()}, {\tt frac\-tal\_\-man\-del\-brot()} and {\tt prime()} added.
\item Many bug fixes, especially to the ticking of axes.
\end{itemize}

\subsection*{2010 Jun 1: Pyxplot 0.8.1}

\subsubsection*{Summary:}

This release has no major new features, but fixes several significant bugs in version 0.8.0.

\subsubsection*{Details:}

\begin{itemize}
\item Mathematical functions {\tt time\_\-from\-unix()}, {\tt time\_\-unix()}, {\tt zernike()} and {\tt zernikeR()} added.
\item Bug fix to the ticking of linked axes.
\item Bug fix to the ticking of axes with blank axis tick labels.
\item Makefile and configure script improved for portability.
\end{itemize}

\subsection*{2010 May 19: Pyxplot 0.8.0}

\subsubsection*{Summary:}

This release is a major update, for which Pyxplot's original python code has
been completely rewritten in C with the addition of many new features. Because
of the scale of this update, there is some minor syntax incompatibility with
previous versions where features have undergone particularly heavy change. The
most apparent change is the increase in speed and efficiency resultant from the
use of a compiled language: especially when handling large \datafile s, Pyxplot
0.8.0 can run more than an order-of-magnitude faster than previous versions.

\subsubsection*{Details:}

\begin{itemize}
\item The handling of large \datafile s has been streamlined to require around an order-of-magnitude less time and memory.
\item Pyxplot's mathematical environment has been extended to handle complex numbers and quantities with physical units.
\item The range of mathematical functions built into Pyxplot has been massively extended.
\item The {\tt solve} command has been added to allow the solution of systems of equations.
\item The {\tt maximize} and {\tt minimize} commands have been added to allow searches for local extrema of functions.
\item An {\tt fft} command has been added for performing Fourier transforms on data.
\item New plot styles -- {\tt filledregion} and {\tt yerrorshaded} -- have been added for plotting filled error regions.
\item The configuration of linked axes has been entirely redesigned.
\item Parametric function plotting has been implemented.
\item Colours can now be specified by RGB, HSB or CMYK components, as well as by name.
\item Several commands, e.g. {\tt box}, {\tt circle}, {\tt ellipse}, etc., have been added to allow vector graphics to be produced in Pyxplot's multiplot environment.
\item The {\tt jpeg} command has been generalised to allow the incorporation of not only {\tt jpeg} images, but also {\tt bmp}, {\tt gif} and {\tt png} images, onto multiplot canvases. The command has been renamed {\tt image} in recognition of its wider applicability. Image transparency is now supported in {\tt gif} and {\tt png} images.
\item The {\tt spline} command, now renamed the {\tt interpolate} command, has been extended up provide many types of interpolation between datapoints.
\item A wide range of conditional and flow control structures have been added to Pyxplot's command language -- these are the {\tt do}, {\tt for}, {\tt foreach}, {\tt if} and {\tt while} commands and the {\tt cond\-ition\-alS} and {\tt con\-dition\-alN} mathematical functions.
\item Input filters have been introduced as a mechanism by which datafiles in arbitrary formats can be read.
\item Pyxplot's command-line interface now supports tab completion.
\item The {\tt show} command has been reworked to produce pastable output.
\item Many minor bugs have been fixed.
\end{itemize}

\subsection*{2009 Nov 17: Pyxplot 0.7.1}

\subsubsection*{Summary:}

This release has no major new features, but fixes several serious bugs in version 0.7.0.

\subsubsection*{Details:}

\begin{itemize}
\item The {\tt exec} command did not work in Pyxplot 0.7.0; this issue has been resolved.
\item The {\tt xyerrorrange} plot style did not work in Pyxplot 0.7.0; this issue has been resolved.
\item Pyxplot 0.7.0 produces large numbers of python deprecation error messages when run under python 2.6; the code has been updated to remove references to deprecated python functions.
\end{itemize}

\subsubsection*{Details -- Change of System Requirements:}

\begin{itemize}
\item In order to fix some of the bugs listed above, it has been necessary to
fix bugs in the PyX graphics library as well as those in Pyxplot. As a result,
and to ensure that these bugfixes reach users as quickly as possible, we have
opted to ship our own modified version of PyX 0.10, called dcfPyX with Pyxplot.
\end{itemize}

\subsection*{2008 Oct 14: Pyxplot 0.7.0}

\subsubsection*{Summary:}

Third Pyxplot beta-release. The code has undergone significant streamlining,
and now runs approximately twice as fast as version 0.6.3 when handling large
datafiles. Memory usage has also been radically reduced. Two new data
processing commands have been introduced. The {\tt tabulate} command can be
used to produce textual datafiles, allowing the user to read data in from
files, apply some analysis, and then write the processed data back to file. The
{\tt histogram} command can be used to estimate the frequency densities of sets
of data points, either by binning them into a bar chart, or by fitting a
functional form to their frequency density.

\subsubsection*{Details -- New and Extended Commands:}

\begin{itemize}
\item {\tt tabulate}
\item {\tt histogram}
\item {\tt set label} and {\tt text} commands extended to allow a color to be
specified.
\end{itemize}

\subsubsection*{Details -- API changes}

\begin{itemize}
\item {\tt diff\_dx()} and {\tt int\_dx()} functions -- the function to be
differentiated or integrated must now be placed in quotation marks.
\end{itemize}

\subsubsection*{Details -- Change of System Requirements:}

\begin{itemize}
\item Requirement of PyX version 0.9 has been updated to PyX version 0.10. Note that new versions of the PyX graphics library are not generally backwardly compatible.
\end{itemize}

\subsection*{2007 Feb 26: Pyxplot 0.6.3}

\subsubsection*{Summary:}

Second Pyxplot beta-release. The most significant change is the introduction of
a new command-line parser, with greatly improved handling of complex
expressions and much more meaningful syntax error messages. Multi-platform
compatibility has also been massively improved, and dependencies loosened.  A
small number of new commands have been added; most notable among them are the
{\tt jpeg} and {\tt eps} commands, which embed images in multiplots.

\subsubsection*{Details -- New and Extended Commands:}

\begin{itemize}
\item {\tt jpeg}
\item {\tt eps}
\item {\tt set xtics} and {\tt set mxtics}
\item {\tt text} and {\tt set label} commands extended to allow text rotation.
\item {\tt set log} command extended to allow the use of logarithms with bases other than 10.
\item {\tt set preamble}
\item {\tt set term enlarge | noenlarge}
\item {\tt set term pdf}
\item {\tt set term x11\_persist}
\end{itemize}

\subsubsection*{Details -- Eased System Requirements:}

\begin{itemize}
\item Requirement on Python 2.4 minimum eased to version 2.3 minimum.
\item Requirements on scipy and readline eased; Pyxplot will now work in reduced form when they are absent, though they are still strongly recommended.
\item dvips and Ghostscript are no longer required.
\end{itemize}

\subsubsection*{Details -- Removed Commands:}

Due to a general refinement of Pyxplot's API, some of the less sensible pieces
of syntax from Version~0.5 are no longer supported. The author apologises for
any inconvenience caused.

\begin{itemize}
\item The {\tt delete\_arrow}, {\tt delete\_text}, {\tt move\_text}, {\tt undelete\_arrow} and {\tt undelete\_text} commands have been removed from the Pyxplot API. The {\tt move}, {\tt delete} and {\tt undelete} commands should now be used to act upon all types of multiplot objects.
\item The {\tt set terminal} command no longer accepts the {\tt enhanced} and {\tt noenhanced} modifiers. The {\tt postscript} and {\tt eps} terminals should be used instead.
\item The {\tt select} modifier, used after the {\tt plot}, {\tt replot}, {\tt fit} and {\tt spline} command can now only be used once; to specify multiple {\tt select} criteria, use the {\tt and} logical operator.
\end{itemize}

\subsection*{2006 Sep 09: Pyxplot 0.5.8}

First beta-release.