Demos Graphics/complexFuns: Scaling + mesh visibility improved 05/21205/3
Samuel GOUGEON [Fri, 3 Jan 2020 01:27:07 +0000 (02:27 +0100)]
Change-Id: Ie974d127ca0ad17435d60e01a026dd0373e44400

scilab/modules/graphics/demos/cmplxfunc/MacCmplx.sci
scilab/modules/graphics/demos/cmplxfunc/demo_custom.dem.sce

index b6f95d4..c92fa4e 100644 (file)
@@ -122,6 +122,7 @@ function []=PlotCmplxFunc(R,e,TypeDomain,TypeCut,n,StrFunc,theta,alpha,DomReal)
 
     subplot(1,2,1);
     plot3d(xi,yi,zi,theta,alpha,"Re(z)@Im(z)@",[2 6 4]);
+    gce().color_mode = color("magenta");
     xtitle("Im("+StrFunc+"(z))");
 
     // plot Re(z) + the real restriction
@@ -129,6 +130,7 @@ function []=PlotCmplxFunc(R,e,TypeDomain,TypeCut,n,StrFunc,theta,alpha,DomReal)
 
     subplot(1,2,2);
     plot3d(xr,yr,zr,theta,alpha,"Re(z)@Im(z)@",[ 2 6 4]);
+    gce().color_mode = color("magenta");
     xtitle("Re("+StrFunc+"(z))");
 
     // real function in yellow
@@ -145,7 +147,7 @@ function []=PlotCmplxFunc(R,e,TypeDomain,TypeCut,n,StrFunc,theta,alpha,DomReal)
         captions(yellow_line, "the real "+StrFunc+" function", "lower_caption");
     end
 
-
+    isoview(gcf(), "off");
 
     drawnow();
 
index 38e5581..0200e14 100644 (file)
@@ -739,6 +739,8 @@ function []=PlotCmplxFunc(R,e,TypeDomain,TypeCut,n,StrFunc,theta,alpha,DomReal)
         yellow_line.thickness = 3;
     end
 
+    isoview(gcf(), "off")
+
 endfunction
 
 function [xr,yr,zr,xi,yi,zi] = CmplxFacets(R,e,TypeDomain,TypeCut,n,StrFunc)