diff --git a/plotly/plotlyfig.m b/plotly/plotlyfig.m index 7e5801a6..68649808 100644 --- a/plotly/plotlyfig.m +++ b/plotly/plotlyfig.m @@ -946,7 +946,7 @@ function delete(obj) strcmpi(fieldname,'surface') || strcmpi(fieldname,'scatter3d') ... || strcmpi(fieldname,'mesh3d') || strcmpi(fieldname,'bar') ... || strcmpi(fieldname,'scatterpolar') || strcmpi(fieldname,'barpolar') ... - ) + || strcmpi(fieldname,'scene')) fprintf(['\nWhoops! ' exception.message(1:end-1) ' in ' fieldname '\n\n']); end end diff --git a/plotly/plotlyfig_aux/core/updateData.m b/plotly/plotlyfig_aux/core/updateData.m index 23d78825..888363d7 100644 --- a/plotly/plotlyfig_aux/core/updateData.m +++ b/plotly/plotlyfig_aux/core/updateData.m @@ -74,6 +74,12 @@ updateSurfaceplot(obj,dataIndex); case 'implicitfunctionline' updateLineseries(obj, dataIndex); + case 'parameterizedfunctionline' + updateLineseries(obj, dataIndex); + obj.layout.scene.camera.eye.x = -1.25; + obj.layout.scene.camera.eye.y = -1.25; + obj.layout.scene.camera.eye.z = 0.75; + obj.layout.scene.camera.center.z = -0.5; %--Plotly supported MATLAB group plot objects--% case {'hggroup','group'}