Ошибка gnuplot: невозможно открыть файл сценария 'plot Deaths.txt with dots' - PullRequest
0 голосов
/ 29 апреля 2019

Я следую инструкциям на этой веб-странице https://subscription.packtpub.com/book/big_data_and_business_intelligence/9781849517249/1/ch01lvl1sec14/making-a-scatterplot

Но когда я написал свой собственный сценарий

wget -O Deaths.txt http://www.randomservices.org/random/data/Deaths.txt
gnuplot -persist 'plot 'Deaths.txt' with dots'

Произошла ошибка:

line 0: Cannot open script file 'plot Deaths.txt with dots'

Мой тип терминала: холст

1 Ответ

0 голосов
/ 29 апреля 2019

Правильная команда:

gnuplot -persist -e "plot 'Deaths.txt' with dots"

Нам нужно -e перед запуском скрипта (от мужского гнуплота)

   -e "command list" executes the requested commands  before  loading  the
   next input file.
...