You need to create an axes object first so you can use that as the parent object instead.
fig_UPS = figure;
ax=axes('Parent',fig_UPS);
hold(ax,'on')
plot3(ax, handles.VolDensPot_UPS, handles.PesoDensPot_UPS, handles.Rend_UPS, 'Color', 'r', 'Marker', '*','DisplayName', handles.Nome_UPS, 'LineStyle', 'none');
plot3(ax, handles.VolDensPot_Wendell, handles.PesoDensPot_Wendell, handles.Rend_Wendell, 'Color', 'b', 'Marker', 'o','DisplayName', handles.Nome_Wendell, 'LineStyle', 'none');
legend(ax);
xlabel(ax, 'Densidade de Potência Volumétrica [kW/dm³]');
ylabel(ax, 'Densidade de Potência Mássica [kW/kg]');
zlabel(ax, 'Rendimento')
Best Answer