(
Jump to the original submission)
Tue 12 Jul 2016 04:41:40 PM UTC, comment #7:
See bug #34143, already discussed and confirmed that linewidth must be a positive number.
Matlab says:
|
Tue 12 Jul 2016 04:41:06 PM UTC, comment #6:
See bug #34143, already discussed and confirmed that linewidth must be a positive number.
Matlab says:
|
Tue 12 Jul 2016 03:03:55 PM UTC, comment #5:
WWMD?
|
Tue 12 Jul 2016 02:43:28 PM UTC, comment #4:
Maybe doing the most obvious thing and trating linewidth==0 as no line?
|
Mon 11 Jul 2016 10:45:27 PM UTC, comment #3:
Thank you, then I think this can be closed as a duplicate of task #11311.
|
Mon 11 Jul 2016 10:07:10 PM UTC, comment #2:
@Mike: task #11311 is about validating graphics properties values
|
Mon 11 Jul 2016 07:07:08 PM UTC, comment #1:
Confirmed on default. Setting the linewidth property to 0.1 works and draws a very faint lint. Setting the linewidth property to 0 seems to draw the line with the default value. The property is stored as 0.
Actually the linewidth property doesn't seem to have any validation on it, I can enter a linewidth of -12 and it also renders the same as the default linewidth.
I suspect the right way to solve this would be to throw an "invalid value for property linewidth" error if the value is not a positive scalar.
|
Mon 11 Jul 2016 04:37:15 PM UTC, original submission:
In both fltk and gnuplot, this draws no line:
> plot(1:2, 'linestyle', 'none')
while this draws a line:
> plot(1:2, 'linewidth', 0)
This is a bug, or a missing documentation about a possible special meaning of linewidth of 0.
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
No files currently attached
Depends on the following items
Digest:
bug dependencies, task dependencies.
Items that depend on this one: None found
Follow 7 latest changes.