FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Maintain grid spacing by incrementing current point even if its value… · gnuplot/gnuplot-old@18d05ff · GitHub

Repository navigation

Commit 18d05ff

Browse files
sfeam
committed
Maintain grid spacing by incrementing current point even if its value is undefined
1 parent 66ee900 commit 18d05ff

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

‎ChangeLog‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2006-08-24 Ethan A Merritt <merritt@u.washington.edu>
2+
3+
* src/plot3d.c (get_3ddata): Increment the current point even if its
4+
value is undefined. This allows grid spacing to be maintained, and
5+
correcly handes `splot ... using ($1):($2):($3)`.
6+
7+
FIXME: This is only a partial solution. Deeper problems exist in the
8+
handling of missing/NaN/junk data values during input. In particular,
9+
gridding is still corrupted in the case of `splot ... using 1:2:3`.
10+
111
2006-08-23 Ethan A Merritt <merritt@u.washington.edu>
212

313
* src/color.c (cbtick_callback): Add handling of text properties

‎src/plot3d.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#ifndef lint
2-
static char *RCSid() { return RCSid("$Id: plot3d.c,v 1.130 2006/07/18 23:51:36 sfeam Exp $"); }
2+
static char *RCSid() { return RCSid("$Id: plot3d.c,v 1.131 2006/08/25 20:38:00 sfeam Exp $"); }
33
#endif
44

55
/* GNUPLOT - plot3d.c */
@@ -687,7 +687,7 @@ get_3ddata(struct surface_points *this_plot)
687687

688688
if (j == DF_UNDEFINED || j == DF_MISSING) {
689689
cp->type = UNDEFINED;
690-
continue;
690+
goto come_here_if_undefined;
691691
}
692692
cp->type = INRANGE; /* unless we find out different */
693693

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL