Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #4453

In the Cartesian coordinate system, it is necessary to build 4 graphs on the 1st sheet.

Newsgroups comp.graphics.apps.gnuplot
Date 2022-02-17 09:04 -0800
Message-ID <f0552afc-57dd-486e-a56b-eb66754a864dn@googlegroups.com> (permalink)
Subject In the Cartesian coordinate system, it is necessary to build 4 graphs on the 1st sheet.
From Сергей Саленко <sersal8086@gmail.com>

Show all headers | View raw


Good evening!

I am a new user gnuplot, so please help me.

Formulation of the problem.

In the Cartesian coordinate system, it is necessary to build 4 graphs on the 1st sheet.
1.	I wrote a program for this, which I saved in a file test_gnu_1.txt:
set border 3
set  xtics  nomirror
set  ytics  nomirror
set xzeroaxis line type -1
set grid
plot “E:\x0x10_speed.txt” u 1:2 t “x=0” w lp pt 1 lc 1,
“” u 1:3 t “x=2” w lp pt 2 lc 2,
“” u 1:4 t “x=4” w lp pt 4 lc 3,
“” u 1:5 t “x=10” w lp pt 6 lc 4
2.	In the editor NOTEPAD , save this file with the extension .gp : test_gnu _1.gp.
3.	On the command line  gnuplot I typed load “E:\ test_gnu _1.gp” – gnuplot  gave an error message.
4.	Then I did the following experiment
4.1.	On the command line  gnuplot I typed
plot “E:\x0x10_speed.txt” u 1:2 t “x=0” w lp pt 1 lc 1,
“” u 1:3 t “x=2” w lp pt 2 lc 2,
“” u 1:4 t “x=4” w lp pt 4 lc 3,
“” u 1:5 t “x=10” w lp pt 6 lc 4
Gnuplot drew graphs.
4.2.	Left only command 4.1 in the file test_gnu _1.gp and on the command line  gnuplot I typed load “E:\ test_gnu _1.gp” – gnuplot  gave an error message.
Conclusion:  gnuplot does not "understand" file test_gnu _1.gp.

I have 64b. computer and OS Windows 10. Gnuplot version 5.2, patchlevel 2, terminal type ‘windows’, encoding ‘cp 1251’.

Thanks in advance for your help and with the hope of understanding .
Sergey

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

In the Cartesian coordinate system, it is necessary to build 4 graphs on the 1st sheet. Сергей Саленко <sersal8086@gmail.com> - 2022-02-17 09:04 -0800
  Re: In the Cartesian coordinate system, it is necessary to build 4 graphs on the 1st sheet. Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2022-02-17 22:27 +0100
    Re: In the Cartesian coordinate system, it is necessary to build 4 graphs on the 1st sheet. Сергей Саленко <sersal8086@gmail.com> - 2022-02-18 11:09 -0800
      Re: In the Cartesian coordinate system, it is necessary to build 4 graphs on the 1st sheet. Сергей Саленко <sersal8086@gmail.com> - 2022-02-20 12:52 -0800
        Re: In the Cartesian coordinate system, it is necessary to build 4 graphs on the 1st sheet. Сергей Саленко <sersal8086@gmail.com> - 2022-02-20 12:56 -0800
  Re: In the Cartesian coordinate system, it is necessary to build 4 graphs on the 1st sheet. Marc 'BlackJack' Rintsch <marc@rintsch.de> - 2022-02-24 14:02 +0000
    Re: In the Cartesian coordinate system, it is necessary to build 4 graphs on the 1st sheet. Сергей Саленко <sersal8086@gmail.com> - 2022-02-28 13:11 -0800

csiph-web