Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ This package aims to provide a support for creating nice figures with gnuplot in
* Script execution -- pressing `cmd+b` on Mac OS X, `ctrl+b` on Linux/Windows
* Toggle Comments -- pressing `cmd+/` on Mac OS X, `ctrl+/` on Linux/Windows [Leandro Heck](https://github.com/leoheck)
* Jump to the location of an error, should one occur when running gnuplot [AJMansfield](https://github.com/AJMansfield)
* Autocomplition for set [joebarker87](https://github.com/joebarker87)
* Autocompletion for set [joebarker87](https://github.com/joebarker87)

# Installation

Sublime Gnuplot can be installed via [Package Controll](https://sublime.wbond.net/installation) or from source. I recommend that you use Package Control! Not only does it ease installation, but more importantly it automatically updates the plugins it installs, which ensures you will get the latest features and bug fixes.

## Installing via Package Control

To install Sublime Gnuplot via [Package Controll](https://sublime.wbond.net/installation), follow these steps:
To install Sublime Gnuplot via [Package Control](https://sublime.wbond.net/installation), follow these steps:

1. Open the Command Palette (`cmd+shift+p` on Mac OS X, `ctrl+shift+p` on Linux/Windows).
2. Type `install` and select `Package Control: Install Package` from the Command Palette. There will be a pause of a few seconds while Package Control finds the available packages.
Expand Down
6 changes: 3 additions & 3 deletions gnuplot.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,13 @@
<key>comment</key>
<string>missuse of scopes alert! Just for pretty colours</string>
<key>match</key>
<string>\b(cd|call|clear|exit|plot|splot|help|load|pause|quit|fit|replot|if|FIT_LIMIT|FIT_MAXITER|FIT_START_LAMBDA|FIT_LAMBDA_FACTOR|FIT_LOG|FIT_SCRIPT|print|pwd|reread|reset|save|show|test|!|functions|var)\b</string>
<string>\b(cd|call|clear|else|exit|plot|splot|help|load|pause|quit|fit|replot|if|FIT_LIMIT|FIT_MAXITER|FIT_START_LAMBDA|FIT_LAMBDA_FACTOR|FIT_LOG|FIT_SCRIPT|print|pwd|reread|reset|save|show|test|!|functions|var)\b</string>
<key>name</key>
<string>keyword.other.command.gnuplot</string>
</dict>
<dict>
<key>match</key>
<string>\b(abs|acos|acosh|arg|asin|asinh|atan|atan2|atanh|besj0|besj1|besy0|besy1|ceil|cos|cosh|erf|erfc|exp|floor|gamma|ibeta|igamma|imag|int|inverf|invnorm|lambertw|lgamma|log|log10|norm|rand|real|sgn|sin|sinh|sqrt|tan|tanh)\b</string>
<string>\b(abs|acos|acosh|arg|asin|asinh|atan|atan2|atanh|besj0|besj1|besy0|besy1|ceil|cos|cosh|erf|erfc|exists|exp|floor|gamma|ibeta|igamma|imag|int|inverf|invnorm|lambertw|lgamma|log|log10|norm|rand|real|sgn|sin|sinh|sqrt|tan|tanh)\b</string>
<key>name</key>
<string>support.function.gnuplot</string>
</dict>
Expand Down Expand Up @@ -393,7 +393,7 @@
<key>match</key>
<string>\s*(==|~=|&gt;|&gt;=|&lt;|&lt;=|&amp;|&amp;&amp;|:|\||\|\||\+|-|\*|\.\*|/|\./|\\|\.\\|\^|\.\^)\s*</string>
<key>name</key>
<string>keyword.operator.symbols.matlab</string>
<string>keyword.operator.symbols.gnuplot</string>
</dict>
<key>string_double</key>
<dict>
Expand Down