Changes

Jump to navigation Jump to search
469 bytes added ,  02:06, 25 August 2006
just a few internal notes (the page should disappear as soon as possible ;)
Different remarks about gnuplot development Hans's note:== Known bugs ==
Once we have lua in place it should not be that difficult to make a mechanism that works as follows:* context calls gnuplot and opens a socket* and starts waiting for gp to finish* when gnuplot needs dimensions it talks back via the socket* tex executes the command send by the socket* etcit needs some thinking but i thing that it is possible == What has to be fixed in m-gnuplot.tex == * Is it possible to get rid of "^M" at the end of lines* Addmathematics
<texcode>
\defineGNUPLOThandlestartGNUPLOTscript{epsexp}plot [0:3] 2/sqrt(pi)*exp(-x**2) t '$\frac{postscript eps color2}{eps}\sqrt{texmfstart newpstopdf \GNUPLOTfile.epspi}}e^{-x^2}$'\GNUPLOTfile.pdf}stopGNUPLOTscript
</texcode>
* [Urgently] remove <code>start</code> fromcomments
<texcode>
{\executesystemcommandstartGNUPLOTscript{start /MIN pgnuplot sin}# this comment should be ignoredplot sin(x)\GNUPLOTfile.gpd}}stopGNUPLOTscript
</texcode>
* doesn't work with XeTeX yet* Rotated PostScript images -dAutoRotatePages=/PageByPage == TODO:No need for == === ConTeXt + terminal === * contour plot, <code>set style fill pattern</code>* images* handling fonts /MIN and possibly use set label "font"* colour palettes* smooth shading === Efficiency === * optimize the number of gnuplot runs (if possible, gnuplot instead should be run only once)* optimize the number of pgnuplottimes for loading/converting an already used graphic === Gnuplot core === * CLIP lines & points* MITTERED/BUTT* encoding: bigger list, it's not updated in help (encoding), add utf-8* pm3d - smooth shading === Obscure ideas ===* perhaps some <code>--iftouchedset decimalsign ','</code> switchesbased on language setting or locales
== What has to be added to m-gnuplot.tex to support ConTeXt terminal ==
=== High priority ===
* [HTH] change \startMPcode and \startMPpage to something like \strartGNUPLOTgraphic (once the support in m-gnuplot is written)
* fix the syntax for
set terminal context
* write documentation
* [HTH] add \switchtobodyfont[whateverisprovided]\strut to evert \sometxt: try using (implementing first) \GPtext instead of \sometxt
* [HTH] improve syntax for points, currently \sometxt{\GPpoint{NR}}
=== Middle priority ===
=== Legend ===
* [HTH] = Need Hans's or Taco's Help
 
Different remarks about gnuplot development
 
== Notes ==
 
=== Hans's note ===
 
Once we have lua in place it should not be that difficult to make a mechanism that works as follows:
* context calls gnuplot and opens a socket
* and starts waiting for gp to finish
* when gnuplot needs dimensions it talks back via the socket
* tex executes the command send by the socket
* etc
it needs some thinking but i think that it is possible
 
=== closed curves in parametric plots ===
* it's probably not seen that easy, but if you want a circle with --cycle, set trange [0:2*pi]

Navigation menu