Cmd 如何在windows中从命令提示符屏幕调用gnuplot应用程序??

Cmd 如何在windows中从命令提示符屏幕调用gnuplot应用程序??,cmd,gnuplot,Cmd,Gnuplot,我已经在windows中下载了Gnuplot应用程序,在运行该应用程序时,它会给出自己的命令屏幕。但如果我试图在windows的命令提示符屏幕中调用它,它会说 gnuplot不能识别为内部或外部命令、可操作程序或批处理文件 有人能告诉我如何在windows的命令提示符屏幕中调用gnuplot应用程序吗 注意:这也是我试图在C程序中调用gnuplot的原因,在通过cmd终端编译时,虽然它没有给出错误,但仍然没有显示输出。(可能是) 它可以从命令提示下正常打开: C:\Program Files (

我已经在windows中下载了Gnuplot应用程序,在运行该应用程序时,它会给出自己的命令屏幕。但如果我试图在windows的命令提示符屏幕中调用它,它会说

gnuplot不能识别为内部或外部命令、可操作程序或批处理文件

有人能告诉我如何在windows的命令提示符屏幕中调用gnuplot应用程序吗


注意:这也是我试图在C程序中调用gnuplot的原因,在通过cmd终端编译时,虽然它没有给出错误,但仍然没有显示输出。(可能是)

它可以从命令提示下正常打开:

C:\Program Files (x86)\gnuplot\bin> gnuplot.exe

        G N U P L O T
        Version 4.6 patchlevel 0    last modified 2012-03-04
        Build System: MS-Windows 32 bit

        Copyright (C) 1986-1993, 1998, 2004, 2007-2012
        Thomas Williams, Colin Kelley and many others

        gnuplot home:     http://www.gnuplot.info
        faq, bugs, etc:   type "help FAQ"
        immediate help:   type "help"  (plot window: hit 'h')

gnuplot changed the codepage of this console from 437 to 1252 to
match the graph window. Some characters might only display correctly
if you change the font to a non-raster type.

Terminal type set to 'windows'
gnuplot>

如果您有一个gnuplot脚本(比如scr.gnuplot),只需从“C:\Program Files(x86)\gnuplot\bin”文件夹中运行它:
gnuplot.exe scr.gnuplot

我在这里找到了它,提供了cmd的路径,但是如果我尝试运行类似“gnuplot-p-e\”的命令plot'/home/user/Desktop/Program/O\u Spectra.txt''@user3185742在
路径
变量中必须有包含
gnuplot.exe
二进制文件的目录。我已经在环境变量设置中执行了此操作,但可能仍然缺少某些内容。