Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>GnuplotNew to Visual Studio Code? Get it now.
Gnuplot

Gnuplot

Mario Schwalbe

|
13,568 installs
| (1) | Free
Gnuplot language support for VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Gnuplot Language Support for Visual Studio Code

Extension to provide Gnuplot language support for VS Code.

Screenshot

syntax

Features

Supports:

  • Grammar-based syntax highlighting
  • Problem matcher (and pattern) for build tasks
  • Snippets

To make use of the problem matcher, the task should pass the relative file path to Gnuplot. Example task in tasks.json:

{
    "label":          "Plot with Gnuplot",
    "command":        "${config:gnuplot.gnuplotPath}",
    "args":           [ "${relativeFile}" ],
    "problemMatcher": "$gnuplot"
    // ...
}

If the script includes other Gnuplot scripts, it may be useful to set a matching loadpath:

{
    "label":          "Plot with Gnuplot",
    "command":        "${config:gnuplot.gnuplotPath}",
    "args":           [ "-e", "set loadpath '${fileDirname}'", "${relativeFile}" ],
    "problemMatcher": "$gnuplot"
    // ...
}

Extension Settings

This extension contributes the following settings:

  • gnuplot.gnuplotPath: Path to the Gnuplot executable. Not used by this extension directly, but useful in tasks.json if it's checked into repositories. Use a command such as ${config:gnuplot.gnuplotPath}.

Source

https://github.com/MarioSchwalbe/vscode-gnuplot

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft