Daniel Thomas' SRCF Website
Writing
Code
Ml
- Tick 6 * output - gaze on its prettiness
- fractals (Tick 6**) even more fun
- Fractal Christmas card (Tick 6***) still makes me smile :-)
LaTeX
useful links
- LaTeX Wikibook The Tips and Tricks section is especially useful
- Footnotes in captions
Things I didn't think were obvious
- When using gnuplot and in a "" string you need to do \\ rather than just \ to get a LaTeX command such as a greek letter. e.g. "Resistance $R$ [\\Omega]"(yes this is obvious when you think about it)
- gnuplot not so FAQ v.useful
- With gnuplot: ylabel being printed twice when using the latex terminal: reason having used load "file.gnuplot" many times with many changes to the file the gnuplot session had become dirty: fix restart gnuplot
- rotated text in gnuplot when using the latex terminal wonderful hack: add \usepackage{rotating} %to allow rotating text to your preamble and then in the gnuplot text you want to rotate something like: set ylabel "\\begin\{sideways\}Time $T_p, T_d$ [s]\\end\{sideways\}"
Alternatively and slightly more neatly and powerfully \usepackage{graphicx} in the preable and then something like set ylabel "\\rotatebox\{90\}\{Time $T_p, T_d$ [s]\}" the advantage of this being that it is a) shorter and b) more powerful as the 90 could be any other angle. - gnuplot \n set terminal latex when using gnuplot and the latex driver to plot data points the default ones are not all suitable as they don't accuratly show the position of the points. to get around this use the pointtype style modifier. The available latex point types are:
- diamond
- + (suitable)
- square
- x (suitable)
- triangle
- star (suitable)
- small circle (suitable)
- medium circle
- big circle
- small filled circle (suitable)
- medium filled circle
- big filled circle
- Number of bug reports with patches I need to write and file for the gnuplot latex driver: 3
More things which weren't obvious and cause me pain
Christmas cards
My 2008 Christmas card is entirely my own work and released under cc-by,sa
My 2009 Christmas card is a derivative work using work by TheTruthAbout... and Tommy Ironic specifically this christmas tree and this white desert consequently it is licenced under cc-by,sa,nc. Last year's card was better but I was stuck for a cool idea and went for a message instead.