alandefreitas / matplotplusplus

Matplot++: A C++ Graphics Library for Data Visualization 📊🗾
https://alandefreitas.github.io/matplotplusplus/
MIT License
4.1k stars 311 forks source link

'gnuplot' is not recognized as an internal or external command, operable program or batch file #360

Open SupreetKurdekar opened 1 year ago

SupreetKurdekar commented 1 year ago

Bug category

Describe the bug

image

Running simple line plot code from Visual Studio. I get the error "GNUPlot is not an internal command" Steps to Reproduce

Installed Matplot++ from VCPKG. Can see and use matplot++ code in main function. But cant generate plots due to above error

Output

```console 'gnuplot' is not recognized as an internal or external command, operable program or batch file. Press ENTER to continue... ```

Platform

Environment Details:

alandefreitas commented 1 year ago

Is gnuplot installed and in PATH? I'm not sure vcpkg can do that for you. I don't know much about what vcpkg can do.

LucasMSpereira commented 11 months ago

In windows 11, I ran into the same issue. Downloading and installing gnuplot, then reopening VS code solved it.