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

spiderplot: default fill pattern should come from "set style spiderp… · gnuplot/gnuplot@8ff0036 · GitHub

Repository navigation

Commit 8ff0036

Browse files
Ethan A Merritt
committed
spiderplot: default fill pattern should come from "set style spiderplot"
but instead it was taken from "set style fill".
1 parent f98af0a commit 8ff0036

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

‎src/plot2d.c‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2870,9 +2870,10 @@ eval_plots()
28702870
if (equals(c_token,"fs") || almost_equals(c_token,"fill$style")) {
28712871
if (this_plot->plot_style == SPIDERPLOT)
28722872
this_plot->fill_properties = spiderplot_style.fillstyle;
2873-
else
2873+
else {
28742874
this_plot->fill_properties = default_fillstyle;
2875-
this_plot->fill_properties.fillpattern = pattern_num;
2875+
this_plot->fill_properties.fillpattern = pattern_num;
2876+
}
28762877
parse_fillstyle(&this_plot->fill_properties);
28772878
set_fillstyle = TRUE;
28782879
}
@@ -3018,9 +3019,10 @@ eval_plots()
30183019
if (!set_fillstyle) {
30193020
if (this_plot->plot_style == SPIDERPLOT)
30203021
this_plot->fill_properties = spiderplot_style.fillstyle;
3021-
else
3022+
else {
30223023
this_plot->fill_properties = default_fillstyle;
3023-
this_plot->fill_properties.fillpattern = pattern_num;
3024+
this_plot->fill_properties.fillpattern = pattern_num;
3025+
}
30243026
parse_fillstyle(&this_plot->fill_properties);
30253027
}
30263028
if ((this_plot->fill_properties.fillstyle == FS_PATTERN)

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL