From: Dima K. <gn...@di...> - 2020-06-26 19:42:16
|
The simplest patch is this: diff --git a/src/plot2d.c b/src/plot2d.c index c81fc2344..a8e598359 100644 --- a/src/plot2d.c +++ b/src/plot2d.c @@ -1097,7 +1097,7 @@ get_data(struct curve_points *current_plot) coordval major_axis = (j >= 3) ? fabs(v[2]) : 0.0; coordval minor_axis = (j >= 4) ? fabs(v[3]) : (j >= 3) ? fabs(v[2]) : 0.0; coordval orientation = (j >= 5) ? v[4] : 0.0; - coordval flag = (major_axis > 0 && minor_axis > 0) ? 0.0 : DEFAULT_RADIUS; + coordval flag = (j >= 3) ? 0.0 : DEFAULT_RADIUS; if (j == 2) /* FIXME: why not also for j == 3 or 4? */ orientation = default_ellipse.o.ellipse.orientation; I.e. we use the default ellipse style only if no axis sizes are given at all. If anything is given, we use it. Thoughts? |