[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45292] Strange issue with image.m and Gnuplot
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #45292] Strange issue with image.m and Gnuplot |
Date: |
Wed, 10 Jun 2015 14:30:16 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.0.1 |
Update of bug #45292 (project octave):
Category: Plotting with gnuplot => Octave Function
Severity: 3 - Normal => 2 - Minor
Item Group: Regression => Incorrect Documentation
Status: Need Info => Confirmed
Release: 3.8.2 => dev
Operating System: *BSD => Any
_______________________________________________________
Follow-up Comment #3:
Ok, thanks. Confirmed on Linux, dropping severity etc. Categorizing as
documentation because this seems to be about the docstring and/or warning
messages.
The image plot does show the correct axes labels for the min and max of the
supplied X and Y, so the end behavior is not incorrect, only the warning
messages may be misleading in this instance.
The image function is not expecting X and Y to be matrices. The plot will only
use the extrema of each of them as the min and max of the linear axis
labeling. Since you did not pass in a linear vector, it displays the
non-linear warning.
It could detect whether X and Y are vectors and error if they are not, instead
of trying to convert them into vectors and use them, possibly incorrectly. I
think that's more appropriate than trying to make the block work with
matrices. But wide open to suggestions as to how best to address this.
As a user what would best explain to you that it's incorrect to try to pass
the output of meshgrid into image?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45292>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/