alandefreitas / matplotplusplus

Matplot++: A C++ Graphics Library for Data Visualization đź“Šđź—ľ
https://alandefreitas.github.io/matplotplusplus/
MIT License
4.34k stars 334 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 1 year ago

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

Moin2002-tech commented 4 months ago

it for windows

The error message you’re seeing (“gnuplot is not recognized as an internal or external command”)

Installation and Environment Variables: First, ensure that you’ve downloaded and installed Gnuplot. You can get it from this link= https://sourceforge.net/projects/gnuplot/. C:\ProgramFiles\gnuplot\bin and run gnuplot.exe I hope resolve that problem During installation, make sure to check all the boxes to install all components. After installation, restart Visual Studio

![Uploading main23.png…]()

C:\ProgramFiles\gnuplot\bin and run gnuplot.exe it resolved [1]: https://i.sstatic.net/65Ro9wbB.png