bugGNU Octave - Bugs: bug #60513, meshc error applying property to...


bug #60513: meshc error applying property to hggroup when trying to apply property to underlying surface plot

Submitted by:  Nicholas Jankowski <nrjank>
Submitted on:  Mon 03 May 2021 05:37:37 PM UTC  
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  None Assigned to:  None
Originator Name:  Nicholas Jankowski Open/Closed:  Open
Release:  6.2.0 Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 03 May 2021 05:45:11 PM UTC, comment #1: 

the following does work:

A =  meshc (X, Y, Z);
set(A(1), 'FaceColor', 'r')

so the issue appears to just be with however meshc tries to set the property during creation.

Nicholas Jankowski <nrjank>
Mon 03 May 2021 05:37:37 PM UTC, original submission:  

[X, Y] = meshgrid (linspace (-3, 3, 40));
Z = sqrt (abs (X .* Y)) ./ (1 + X.^2 + Y.^2);
A = meshc (X, Y, Z, 'FaceColor', 'r');

Matlab it plots as expected, and checking the underlying surface object:

>> A(1).FaceColor
ans =
     1     0     0

in Octave, the plot is produced and matches the matlab output, but the following error is received and the handle A is never created:

>> A =  meshc (X, Y, Z, 'FaceColor', 'r');
error: set: unknown hggroup property FaceColor
error: called from
    __contour__ at line 233 column 8
    meshc at line 101 column 16
>> A
error: 'A' undefined near line 1, column 1

Nicholas Jankowski <nrjank>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by nrjank (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.6