मैं, इस कार्य का/की कॉपीराइट धारक, इस कार्य को सार्वजनिक डोमेन में प्रकाशित करता/करती हूँ। यह पूरे विश्व में लागू होता है। कुछ देशों में यह कानूनी तौर पर नहीं हो सकता है; ऐसा हो तो: मैं सभी को इस कार्य का इस्तेमाल किसी भी उद्देश्य से, बिना किसी बाधाओं के इन शर्तों के कानून द्वारा अनिवार्य किए तक करने की अनुमति देता/देती हूँ।
% illustration of an indicator function in two dimensionsfunctionmain()% the number of data points. More points means prettier picture.N=400;% a function close to what we want, but not smoothZ=get_step_function(N);% plot the surfacefigure(2);clf;holdon;axisequal;axisoff;scale=100;surf(scale*Z);% make the surface beautifulshadinginterp;colormapautumn;% add in a source of lightcamlight(-50,54);% viewing angleview(-40,38);% save as pngprint('-dpng','-r200','Indicator_function_illustration.png');% get a function which is 1 on a set, and 0 outside of itfunctionZ=get_step_function(N)XX=linspace(-1.5,4,N);YY=linspace(-4,4,N);[X,Y]=meshgrid(XX,YY);c=2;k=1.2;shift=10;Z=(c^2-X.^2-Y.^2).^2+k*(c-X).^3-shift;Z=1-max(sign(Z),0);
इस math चित्र को वेक्टर ग्राफ़िक्स की मदद से एक SVG फ़ाइल के रूप में पुनः निर्मित किया जा सकता है। इसके कई फ़ायदे हैं; अधिक जानकारी के लिए Commons:Media for cleanup देखें। अगर इस चित्र का एक SVG रूप उपलब्ध है, कृपया उसे अपलोड करें और उसके बाद इस साँचे को {{vector version available|नए चित्र का नाम}} से बदल दें।
SVG फ़ाइल का नाम "Indicator function illustration.svg" रखना अनुशंसित है—ऐसा करने पर Vector version available (या Vva) साँचे पर नए चित्र का नाम वाले पैरामीटर की ज़रूरत नहीं पड़ेगी।
Captions
Add a one-line explanation of what this file represents
{{Information |Description=Illustration of an en:Indicator function. |Source=self-made with MATLAB, source code below |Date=~~~~~ |Author= Oleg Alexandrov }} <pre><nowiki> % illustration of an indicator function in two dime