Matlab API surface changes color when loaded by Plotly


#1

Hello All,

I’m brand new to plotly and am trying to use it to display scattered data points on top of a surface. I’m using the suggested command:

fig2plotly(gcf,‘strip’,false)

to try and maintain the colormap of the plot as I need both the scattered points and the surface to use the same colorscale. However, when Plotly loads it the surface ends up being a different color palette. Note I want to do this for many plots programmatically and thus don’t want to spend the time using the online editor to modfiy the plots in plotly.

Any suggestions would be much appreciated.

Natalie