LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 01-04-2018, 12:22 PM   #1
ahmad21
LQ Newbie
 
Registered: Jan 2018
Posts: 0

Rep: Reputation: Disabled
plot error bash under cyguin


i am using cyguin under windows 8, when i tried to run command plot i am getting the following error :

Ahmad Chehade@Laptop /home/AhmadChehade/laplace
$ ls -l
total 1553
-rwxr-xr-x 1 Ahmad Chehade Ahmad Chehade 2832 Jan 4 09:38 lapl1D.dat
-rwxr-xr-x 1 Ahmad Chehade Ahmad Chehade 601086 Jan 2 00:44 lapl1D.exe
-rwxr-xr-x 1 Ahmad Chehade Ahmad Chehade 2473 Oct 5 2011 main.cpp
-rw-r--r-- 1 Ahmad Chehade Ahmad Chehade 726994 Jan 2 00:44 main.o
-rwxr-xr-x 1 Ahmad Chehade Ahmad Chehade 517 Jan 2 00:15 makefile
-rwxr-xr-x 1 Ahmad Chehade Ahmad Chehade 1761 Oct 5 2011 Poisson1D.cpp
-rw-r--r-- 1 Ahmad Chehade Ahmad Chehade 92950 Jan 2 00:44 Poisson1D.o
-rwxr-xr-x 1 Ahmad Chehade Ahmad Chehade 4439 Dec 28 12:37 poisson2D.cpp
-rw-r--r-- 1 Ahmad Chehade Ahmad Chehade 27596 Jan 2 00:53 testout1
-rw-r--r-- 1 Ahmad Chehade Ahmad Chehade 22783 Jan 2 00:53 testoutgif
-rwxr-xr-x 1 Ahmad Chehade Ahmad Chehade 1078 Oct 5 2011 Tridiagonal.cpp
-rw-r--r-- 1 Ahmad Chehade Ahmad Chehade 84186 Jan 2 00:44 Tridiagonal.o

Ahmad Chehade@Laptop /home/AhmadChehade/laplace
$ ./ lapl1D.exe
-bash: ./: Is a directory

Ahmad Chehade@Laptop /home/AhmadChehade/laplace
$ ./lapl1D.exe
Root-mean-square error:
2nd order approximation: 0.000791856

Creation du fichier 'lapl1D.dat' pour stocker la solution calculee ainsi que la solution exacte.

***
Pour visualiser la solution exacte et la solution que vous venez de calculer, utilisez la ligne de commande suivante sous 'gnuplot' :
plot 'lapl1D.dat' using 1:2 title 'Ucal','lapl1D.dat' using 1:3 with lines title 'Uex'
***

Ahmad Chehade@Laptop /home/AhmadChehade/laplace
$ plot 'lapl1D.dat' using 1:2 title 'Ucal','lapl1D.dat' using 1:3 with lines title 'Uex'
-bash: plot: command not found

Ahmad Chehade@Laptop /home/AhmadChehade/laplace
$

any suggesi appreciate it
 
Old 01-04-2018, 12:58 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 20,108

Rep: Reputation: 4815Reputation: 4815Reputation: 4815Reputation: 4815Reputation: 4815Reputation: 4815Reputation: 4815Reputation: 4815Reputation: 4815Reputation: 4815Reputation: 4815
Quote:
Originally Posted by ahmad21 View Post
i am using cyguin under windows 8, when i tried to run command plot i am getting the following error :

Ahmad Chehade@Laptop /home/AhmadChehade/laplace
$ ls -l
total 1553
-rwxr-xr-x 1 Ahmad Chehade Ahmad Chehade 2832 Jan 4 09:38 lapl1D.dat
-rwxr-xr-x 1 Ahmad Chehade Ahmad Chehade 601086 Jan 2 00:44 lapl1D.exe
-rwxr-xr-x 1 Ahmad Chehade Ahmad Chehade 2473 Oct 5 2011 main.cpp
-rw-r--r-- 1 Ahmad Chehade Ahmad Chehade 726994 Jan 2 00:44 main.o
-rwxr-xr-x 1 Ahmad Chehade Ahmad Chehade 517 Jan 2 00:15 makefile
-rwxr-xr-x 1 Ahmad Chehade Ahmad Chehade 1761 Oct 5 2011 Poisson1D.cpp
-rw-r--r-- 1 Ahmad Chehade Ahmad Chehade 92950 Jan 2 00:44 Poisson1D.o
-rwxr-xr-x 1 Ahmad Chehade Ahmad Chehade 4439 Dec 28 12:37 poisson2D.cpp
-rw-r--r-- 1 Ahmad Chehade Ahmad Chehade 27596 Jan 2 00:53 testout1
-rw-r--r-- 1 Ahmad Chehade Ahmad Chehade 22783 Jan 2 00:53 testoutgif
-rwxr-xr-x 1 Ahmad Chehade Ahmad Chehade 1078 Oct 5 2011 Tridiagonal.cpp
-rw-r--r-- 1 Ahmad Chehade Ahmad Chehade 84186 Jan 2 00:44 Tridiagonal.o

Ahmad Chehade@Laptop /home/AhmadChehade/laplace
$ ./ lapl1D.exe
-bash: ./: Is a directory

Ahmad Chehade@Laptop /home/AhmadChehade/laplace
$ ./lapl1D.exe
Root-mean-square error:
2nd order approximation: 0.000791856

Creation du fichier 'lapl1D.dat' pour stocker la solution calculee ainsi que la solution exacte.

***
Pour visualiser la solution exacte et la solution que vous venez de calculer, utilisez la ligne de commande suivante sous 'gnuplot' :
plot 'lapl1D.dat' using 1:2 title 'Ucal','lapl1D.dat' using 1:3 with lines title 'Uex'
***

Ahmad Chehade@Laptop /home/AhmadChehade/laplace
$ plot 'lapl1D.dat' using 1:2 title 'Ucal','lapl1D.dat' using 1:3 with lines title 'Uex'
-bash: plot: command not found

Ahmad Chehade@Laptop /home/AhmadChehade/laplace

any suggesi appreciate it
Read the LQ Rules and the "Question Guidelines" link in my posting signature. Content here needs to be posted in English, and pretty much all of your post is not. Also, be aware the cygwin is *NOT* Linux, so posting questions for cygwin and some other plot-program on a Linux forum may not get you much (if ANY) assistance.

Please translate your post into English, and provide complete details about the program, where you got it, etc., and perhaps someone could help, although you would get a faster response on a cygwin forum.
 
Old 01-04-2018, 01:22 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,655

Rep: Reputation: 210Reputation: 210Reputation: 210
Moved: This thread is more suitable in a non-Linux forum like General and has been moved accordingly to help your thread/question get the exposure it deserves.

Well.. The output your program gives looks like gnuplot command. However, if we don't have the program we can't tell for sure.

If it's so: run gnuplot using 'gnuplot' command. You should get a command prompt. Then copy the command the program has given you (the 'plot...').

BTW to have your program output in English instead of in your language (French in this case) run it with LANG=C, for example:
$ LANG=C ./lapl1D.exe
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
plot the xgraph adel.elkabbany Linux - Newbie 13 05-04-2011 11:52 AM
How do I plot fewer error bars in xmgrace? protolocke Linux - Software 2 10-31-2010 09:06 AM
3d and contour plot abhattacharya Linux - Software 3 01-26-2008 05:59 AM
Nearly lost the plot drjimstuckinwin Linux - Wireless Networking 3 11-12-2007 04:50 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 09:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration