#97 splot plotting undesired lines / maybe bug

closed
nobody
None
5
2011-03-07
2010-07-23
No

Hi,

I am experiencing some strange behaviour with splot when trying to plot 3D-lines.
I attach the data file bug.table that contains data of four lines separated in two different z-levels
Just try:
splot ´bug.table´ u 1:2:3 w l

It seems to produce different results. In one of the levels some artificial vertical lines appear connecting both lines. In the other level this does not occur. (See plots)
Furthermore, if I remove 1 of the data points, for example commenting line 46, the vertical lines are not there any more.
I have no clue, what is going on there.
I know I could use plot instead or splot with points, but this is not really what I want to do.
Do you have any advice how to work around this? ... because I guess it will require quite a while to fix it and patch it.

Best regards and thanks in advance,
JM

By the way, I am using the 4.4 version in windows.
gnuplot> show version long

G N U P L O T
Version 4.4 patchlevel 0
last modified March 2010
System: MS-Windows 32 bit

Copyright (C) 1986-1993, 1998, 2004, 2007-2010
Thomas Williams, Colin Kelley and many others

gnuplot home: http://www.gnuplot.info
faq, bugs, etc: type "help seeking-assistance"
immediate help: type "help"
plot window: hit 'h'
Compile options:
+READLINE -LIBREADLINE +HISTORY +BACKWARDS_COMPATIBILITY +BINARY_DATA
+GD_PNG +GD_JPEG +GD_TTF +GD_GIF +ANIMATION
-NOCWDRC +X11_POLYGON +X11_EXTERNAL +USE_MOUSE
+DATASTRINGS +HISTOGRAMS +OBJECTS +STRINGVARS +MACROS +IMAGE

HELPFILE = "wgnuplot.hlp"

I had exactly the same problem under Solaris version 4.2.

Discussion

  • Jose Manuel Sanchez perez

    Sample data file

     
    Attachments
  • Ethan Merritt

    Ethan Merritt - 2011-02-05

    I can't reproduce the problem.
    Anyone else see this?

     
  • Hans-Bernhard Broeker

    What you have there are not just 4 lines. It's five lines, forming two meshes, one of 2 isolines, the other of 3 isolines.

    The so-called "verticals" you're referring to are cross-isolines, which gnuplot automatically generates if a mesh has "grid structure". See "help splot datafile" for the details.

     
  • Ethan Merritt

    Ethan Merritt - 2011-03-07
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks