Skip to content
This repository

A Gnuplot Bundle for textmate, with support for online help and plenty of useful snippets and commands.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Commands
Octocat-spinner-32 Preferences
Octocat-spinner-32 Snippets
Octocat-spinner-32 Support
Octocat-spinner-32 Syntaxes
Octocat-spinner-32 Templates
Octocat-spinner-32 Test
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 info.plist
README.md

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 output statements.
  • 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 set and unset keywords 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

Matt Foster : homepage

Thanks:

Some functionality merged in from gnuplot-textmate-bundle on GitHub.

Something went wrong with that request. Please try again.