Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Octave plotting problem with Cygwin

Status
Not open for further replies.

mr_byte31

Full Member level 5
Joined
Oct 19, 2005
Messages
295
Helped
10
Reputation
20
Reaction score
8
Trophy points
1,298
Activity points
3,241
Hi all ,

i try to plot some simple things on octave but i have this problem

i use

x = 1:10;
plot(x)

result :
PHP:
warning: X11 DISPLAY environment variable not set
      0 [main] octave-3.4.2 4540 exception::handle: Exception: STATUS_ACCESS_VIO
LATION
   3942 [main] octave-3.4.2 4540 open_stackdumpfile: Dumping stack trace to octa
ve-3.4.2.exe.stackdump
      0 [main] octave-3.4.2 7044 exception::handle: Exception: STATUS_ACCESS_VIO
LATION
   1168 [main] octave-3.4.2 7044 open_stackdumpfile: Dumping stack trace to octa
ve-3.4.2.exe.stackdump
      0 [main] octave-3.4.2 7120 exception::handle: Exception: STATUS_ACCESS_VIO
LATION
   1131 [main] octave-3.4.2 7120 open_stackdumpfile: Dumping stack trace to octa
ve-3.4.2.exe.stackdump
      0 [main] octave 2620 fork: child 5268 - died waiting for dll loading, errn
o 11
error: popen2: process creation failed -- Resource temporarily unavailable
error: called from:
error:   /usr/share/octave/3.4.2/m/plot/__gnuplot_open_stream__.m at line 30, co
lumn 44
error:   /usr/share/octave/3.4.2/m/plot/__gnuplot_drawnow__.m at line 72, column
 19
octave:4>
 

Hi all ,

i try to plot some simple things on octave but i have this problem

i use

x = 1:10;
plot(x)

result :
PHP:
warning: X11 DISPLAY environment variable not set
      0 [main] octave-3.4.2 4540 exception::handle: Exception: STATUS_ACCESS_VIO
LATION
   3942 [main] octave-3.4.2 4540 open_stackdumpfile: Dumping stack trace to octa
ve-3.4.2.exe.stackdump
      0 [main] octave-3.4.2 7044 exception::handle: Exception: STATUS_ACCESS_VIO
LATION
   1168 [main] octave-3.4.2 7044 open_stackdumpfile: Dumping stack trace to octa
ve-3.4.2.exe.stackdump
      0 [main] octave-3.4.2 7120 exception::handle: Exception: STATUS_ACCESS_VIO
LATION
   1131 [main] octave-3.4.2 7120 open_stackdumpfile: Dumping stack trace to octa
ve-3.4.2.exe.stackdump
      0 [main] octave 2620 fork: child 5268 - died waiting for dll loading, errn
o 11
error: popen2: process creation failed -- Resource temporarily unavailable
error: called from:
error:   /usr/share/octave/3.4.2/m/plot/__gnuplot_open_stream__.m at line 30, co
lumn 44
error:   /usr/share/octave/3.4.2/m/plot/__gnuplot_drawnow__.m at line 72, column
 19
octave:4>

you have to install xterm, gnuplot, xorg-server, xinit.


and then run Octave

h**p://octave.1599824.n4.nabble.com/Octave-plot-graphics-window-td3385614.html
 

while installing them on cygwin

i got this error

Package: xinit
xinit.sh exit code 3

how to fix it?!

---------- Post added at 14:44 ---------- Previous post was at 14:30 ----------

i tried what is in the webpage of blooz but it didnt work :(

---------- Post added at 14:54 ---------- Previous post was at 14:44 ----------

i opened startx
then run octave
after that .
PHP:
octave:1> plot(1:10)
      1 [main] octave-3.4.2 7472 exception::handle: Exception: STATUS_ACCESS_VIOLATION
   1706 [main] octave-3.4.2 7472 open_stackdumpfile: Dumping stack trace to octave-3.4.2.exe.stackdump
      0 [main] octave-3.4.2 972 exception::handle: Exception: STATUS_ACCESS_VIOLATION
   1775 [main] octave-3.4.2 972 open_stackdumpfile: Dumping stack trace to octave-3.4.2.exe.stackdump
      0 [main] octave-3.4.2 3840 exception::handle: Exception: STATUS_ACCESS_VIOLATION
   2137 [main] octave-3.4.2 3840 open_stackdumpfile: Dumping stack trace to octave-3.4.2.exe.stackdump
    126 [main] octave-3.4.2 516 exception::handle: Exception: STATUS_ACCESS_VIOLATION
   4439 [main] octave-3.4.2 516 open_stackdumpfile: Dumping stack trace to octave-3.4.2.exe.stackdump
      0 [main] octave-3.4.2 5752 exception::handle: Exception: STATUS_ACCESS_VIOLATION
   1781 [main] octave-3.4.2 5752 open_stackdumpfile: Dumping stack trace to octave-3.4.2.exe.stackdump
      0 [main] octave-3.4.2 6564 exception::handle: Exception: STATUS_ACCESS_VIOLATION
   1407 [main] octave-3.4.2 6564 open_stackdumpfile: Dumping stack trace to octave-3.4.2.exe.stackdump
      0 [main] octave 2888 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x600, errno 11
error: popen2: process creation failed -- Resource temporarily unavailable
error: called from:
error:   /usr/share/octave/3.4.2/m/plot/__gnuplot_open_stream__.m at line 30, column 44
error:   /usr/share/octave/3.4.2/m/plot/__gnuplot_drawnow__.m at line 72, column 19
octave:2>
 

try this one


Basically Downgrading Cygwin to 1.7.8
h**p://octave.1599824.n4.nabble.com/cannot-plot-with-octave-3-4-0-and-windows-7-td3494136.html
 
ok , :) how can i get this old version?
 

Cygwin 1.7.7
h**p://cygwin.en.softonic.com/


h**p://www.fruitbat.org/Cygwin/index.html#cygwinmirror



Cygwin Source
h**p://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/release/cygwin/]UK Mirror Service: sites/sourceware.org/pub/cygwin/release/cygwin
 

i downloaded it but when i tried to install it said : couldnt connect to server
i think it connect to the new servers to get packages but couldnt get setup.ini
:(
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top