octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #60304] Error using scatter & refreshdata


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #60304] Error using scatter & refreshdata
Date: Mon, 29 Mar 2021 11:30:11 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36 Edg/89.0.774.63

Update of bug #60304 (project octave):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

As you can see when querying `get(s, "cdata")`, the "cdata" property is a
column vector.
If `Val_C` in your example is set to a column vector instead of a row vector,
the example works without error:

clear all
close all

f=figure;

s=scatter(1:10,1:10,100,1:10,'filled');

set(s,'XDataSource','Val_X');
set(s,'YDataSource','Val_Y');
set(s,'CDataSource','Val_C');

Val_X=(1:10).';
Val_Y=(1:10).';
Val_C=(1:10).';

refreshdata(f)


If you need help coding, please use one of the channels listed here:
https://www.gnu.org/software/octave/support

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60304>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]