|
From: Clement L. <the...@gm...> - 2013-10-01 08:19:07
|
Out of interest, what happens when you execute: plot 'file.dat' binary record=(15,-1) format='%float' u 1:2:3 w d pal instead of using 'w l pal' Also, could you include the link which instructed you? On 30 September 2013 13:29, cédric ody <ced...@gm...> wrote: > In fact and to be more complete, this behaviour for splot is obtained > with gnuplot 4.6 patchlevel 0. > > Crossing lines are also observed for splot AND plot command on the > older version 4.2 patchlevel 2. So it is seems there have been > progress between the two versions for the plot command. > > Cédric > > > > 2013/9/30, cédric ody <ced...@gm...>: > > Hi, > > > > I have found a interesting comment on the web explaining how to plot > > unstructured mesh written in a binary file in gnuplot. I knew to do > > that in ascii but I have been looking for the binary possibility for a > > while. > > > > The command is for instance the following > > > > plot 'file.dat' binary record=(15,-1) format='%float' u 1:2:3 w l palette > > > > I wrote the binary file file.dat using octave (fwrite(file,vector)). > > > > The 15 is because I plot cells of 5 points of two coordinates + the > > value at the point. > > > > cell=[ptA ptB ptC ptD ptA] > > > > vector=[ptAx ptAy ptAval ptBx ptBy ptBval ptCx ptCy ptCval ptDx ptDy > > ptDval ptAx ptAy ptAval ...]; > > > > The plot command gives expected results (I would expect that I have > > used an ascii filename). However, the splot command does not as some > > cells of the unstructured mesh are now connected although they should > > not. > > > > Does anybody know what I am missing. > > > > Thank you very much, > > > > Cédric > > > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |