You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have used Surf plot with single FaceColor, however while when exported to PDF, it retains default color of axis with 64 colors
I have created small example
x =0.1:0.1:1;
y = sort(rand(1,10));
% Number of radial spokes
n =21;
% Transform data for cylindrical presentation
theta = linspace(0,2*pi,n);
xr =x.'*cos(theta);
zr =x.'*sin(theta);
yr = repmat(y.',1,n);
surf(xr,zr,yr,'FaceColor',[10.20.1],'FaceAlpha',0.8,'EdgeColor','none')
OneMore Example
[x,y] = meshgrid(-2:.2:2);
z =x.*exp(-x.^2-y.^2);
a = gradient(z);
surf(x,y,z,'AlphaData',a,...
'FaceAlpha','flat',...
'FaceColor','blue')
Now when this plot exported to PDF, it renders with Default Jet color
The text was updated successfully, but these errors were encountered:
I have used Surf plot with single FaceColor, however while when exported to PDF, it retains default color of axis with 64 colors
I have created small example
Now when this plot exported to PDF, it renders with Default Jet color
The text was updated successfully, but these errors were encountered: