From: Valery Pipin <pip@is...>  20040402 11:16:14

I've tryed to use the plplot from octave. I have debiansid. I found that plplot can not be used from octave with usual octave (gnuplot) syntax. The simple receipt given in "Usage.octave" like, plplot_toggle; x=pi:0.1:pi; plot(x,sin(x)); does not work; The only method is to immitate the way which was used in octave examples x*.m copied from c dir. Is it correct? Why am I asking this? Let me explain a bit. I usually use plplot from yplot interface. Recently I've upgraded plplot from 5.3.02 to cvs version (as was proposed by apt) I found that the following piece of yplot code (at the end of message) fails on this version of plplot but it works on 5.3.02. At first moment I wanted to test it from octave but realised that it is not as simple. best rgds, Valery ####################### plsdev,"xwin" plspage,400,400,400,400,1,1 plscolbg,255,255,255 plinit; pladv,0; plstick,3,1,1,1,2.,.5,2,1.5 plwind,1,0,1.5,1.5 pllsty,1 plcol,7 plcont,b,lbp,x,y pllsty,2 plcol,13 plcont,b,lbn,x,y plcol,7 pllsty,1 plline,x(1,1:tnum),y(1,1:tnum) plline,x(rnum,1:tnum),y(rnum,1:tnum) plschr,2,2 plstick,3,1,2,1,7,1,4,1 plwind,0,1,1,1 plwid,2 pllsty,1 plcol,1 plcont,o,lop,x,y plcol,9 plcont,o,lon,x,y pllsty,3 plwid,1 plcol,9 plcont,ob,levob,x,y plcol,9 pllsty,1 plline,x(1,1:tnum),y(1,1:tnum) plline,x(rnum,1:tnum),y(rnum,1:tnum) plschr,2,2 //after this line plplot give //ERROR (plcont) Segmentation violation interrupt (SIGSEGV) // LINE: 1188 FILE: /usr/share/yorick/1.5/i0/yplot.i plstick,3,1,3,1,2,1,2,0 plwind,0,1.5,1.5,1.5 pllsty,1 plcol,7 plcont,a, lap,x,y pllsty,2 plcol,13 plcont,a, lan,x,y plcol,7 pllsty,1 plline,x(1,1:tnum),y(1,1:tnum) plline,x(rnum,1:tnum),y(rnum,1:tnum) pllsty,1 plcol,7 plcont,aout, lap,x1e,y1e pllsty,2 plcol,13 plcont,aout, lan,x1e,y1e plend 