Handles.surf(1,:) = surfc(real_gamma,imag_gamma,Percent_Loss) Set(handles.cb(1).Label, 'String', 'Percent Power Loss'. Set(handles.cb(1), 'Color', SP.colors.outer_text. Set(handles.Axes_Smith(4), 'visible', 'on'. Handles.smith(4) = smith_rab_v2(handles.Axes_Smith(4),SP) Handles.figure(4) = figure( 'NumberTitle', 'Off'. SP.Q_pts = % number of points in a Q contour SP.LW_swr = 2 % LW= line width for SWR Circles SP.swr_circles = % set to for no SWR circles SP.LW = 1 % LW= line width for Smith coordinates % Plot 3-d smith chart % First, set Smith Chart parameters for smith_rab_v2.m, % per its documentation: It invokes surfc in the form surfc(X,Y,Z), per the description, above. Below is the code to create a Smith Chart plot of data in 3-D.