Difference between revisions of "Gnuplot Development"
Jump to navigation
Jump to search
(fixes for m-gnuplot) |
m (some additions, but not finished yet) |
||
Line 26: | Line 26: | ||
== What has to be added to m-gnuplot.tex to support ConTeXt terminal == | == What has to be added to m-gnuplot.tex to support ConTeXt terminal == | ||
+ | |||
+ | |||
+ | == What has to be added to context.trm == | ||
+ | |||
+ | === 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 === | ||
+ | * support different font sizes | ||
+ | * check if everything is documented well enough in help | ||
+ | |||
+ | === Low priority === | ||
+ | * implement with_image: once it's clear how to do it | ||
+ | * study the code for palettes, implement them and document them | ||
+ | * (need some interference with the core code) improve the code for | ||
+ | draw_color_smooth_box(MODE_SPLOT) in graph3d.c -> color.c | ||
+ | |||
+ | === Legend === | ||
+ | * [HTH] = Need Hans's or Taco's Help |
Revision as of 00:54, 19 July 2006
Different remarks about gnuplot development
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 thing that it is possible
Contents
What has to be fixed in m-gnuplot.tex
- Is it possible to get rid of "^M" at the end of lines
- Add
\defineGNUPLOThandle{eps}{postscript eps color}{eps}{texmfstart newpstopdf \GNUPLOTfile.eps}{\GNUPLOTfile.pdf}
- [Urgently] remove
start
from
{\executesystemcommand{start /MIN pgnuplot \GNUPLOTfile.gpd}}
- No need for /MIN and possibly use gnuplot instead of pgnuplot
- perhaps some
--iftouched
switches
What has to be added to m-gnuplot.tex to support ConTeXt terminal
What has to be added to context.trm
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
- support different font sizes
- check if everything is documented well enough in help
Low priority
- implement with_image: once it's clear how to do it
- study the code for palettes, implement them and document them
- (need some interference with the core code) improve the code for
draw_color_smooth_box(MODE_SPLOT) in graph3d.c -> color.c
Legend
- [HTH] = Need Hans's or Taco's Help