mattfoster / gnuplot-tmbundle
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (2)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
Commands/ | Thu Apr 30 00:25:24 -0700 2009 | |
| |
LICENSE | Wed Nov 12 02:37:52 -0800 2008 | |
| |
Preferences/ | Sun Apr 13 10:58:19 -0700 2008 | |
| |
README.md | Thu Apr 30 00:33:25 -0700 2009 | |
| |
Snippets/ | Sun Nov 16 06:37:37 -0800 2008 | |
| |
Support/ | Thu Apr 30 00:33:25 -0700 2009 | |
| |
Syntaxes/ | Thu Apr 30 00:25:24 -0700 2009 | |
| |
Templates/ | Tue Jun 10 03:22:07 -0700 2008 | |
| |
Test/ | Tue Nov 11 06:14:06 -0800 2008 | |
| |
info.plist | Thu Apr 30 00:25:24 -0700 2009 |
The Gnuplot TextMate bundle
See this screencast for quick installation instrucitons.
Introduction
Aims to provide a useful set of commands, snippets and language support for writing and running gnuplot scripts within TextMate.
So far, various features have been implemented, including:
- Syntax hilighting.
- Script execution -- pressing ' ⌘R' pipes the script through gnuplot.
- Plot in aquaterm -- pressing also ''⌘R' gives you the option of viewing the plot in aquaterm.
- Execution and display -- we now have a command for running a script and showing the result in aquaterm.
- Output viewing -- pressing '⇧⌘O' will search though the script and open any filenames it finds after
set outputstatements. - Output the current file to a PDF file and specify the file name in the plot file
- Toggling (un)set -- pressing '⇧⌘S' changes toggles between
setandunsetkeywords on the current line. - Online help -- pressing '⌃H' with the caret over a keyword pops up an HTML window containing gnuplot's built-in help for that keyword.
There are a cople of issus with the help, see the end of the fillstyle entry, for example, but these are minor, and seem to be due to bugs in bluecloth.
Future work will be focused on providing completion, and improving the help command -- especially formatting of the output.
Links
Installation:
Run:
cd ~/Library/Application\ Support/TextMate/Bundles
git clone git://github.com/mattfoster/gnuplot-tmbundle.git Gnuplot.tmbundle
Saving the Output of a script to a PDF file
You can specify a file name directly in the script and use ⌘R to execute the script. From the options choose save to PDF. To specify a name in the script put the following line in the beginning of you document:
#!OUTPUT=this_is_my_file.pdf
The script will parse for this option and save the generated PDF to your directory. If you choose not to specify a name, the name of the current document will be used.
Maintainer
Thanks:
Some functionality merged in from gnuplot-textmate-bundle on GitHub.

