Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What is the method of plot drawing filling?

Shulou Source: shulou.com Published: 2022-06-01 03:23:52 10月02日 Update

Most people do not understand the knowledge points of this article "plot drawing filling method", so the editor summarizes the following contents, detailed contents, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "plot drawing filling method is what" article.

%% simple curve

X =-2*pi:pi/100:2*pi

Fx = sin (x)

Figure ('Color','w')

% set the figure color to white (remove the surrounding gray)

Subplot (1pm 2pm 1)

Hold on

Plot (xforce FX)

Plot (2 parts x parts piplet 2 minutes 0.5 seconds fxwords 0.1 parts x)

Hold off

Title ('plot')

Subplot (1, 2, 2)

Hold on

Plot_shaded (xforce FX)

Plot_shaded (2 parts x parts piplet 2 minutes 0.5 seconds fxwords 0.1 parts x)

Hold off

Title ('plot\ _ shaded')

%% histogram

X1 = 3 + 2.0*randn ([1000000 dint 1])

X2 = 12 + 4.0*randn ([1000000 dint 1])

Figure ('Color','w')

Hold on

Plot_histogram_shaded (X1 and alpha) 0.3)

% parameter Alpha is transparency

Plot_histogram_shaded (X2)

Hold off

Title ('plot\ _ histogram\ _ shaded')

%% distribution map

X = 1, 0.25, 0.25, 10

Y = sin (X) + 0.25x

Y_error = randn (1000m numel (Y))

Y_noisy = Y+Y_error.*repmat (0.1cm X, [size (Yellowerror1) 1])

Figure ('Color','w')

Subplot (3, 1, 1)

Plot (XMagneYGravity LineWidthpiece 1.5)

Title ('plot (True value yellowf (x))')

Ylim ([- 1 5])

Subplot (3, 1, 1, 2)

Hold on

Plot (XMagneYGravity LineWidthpiece 1.5)

Plot_distribution (XMagna Yellownoisy)

Hold off

Title ('plot\ _ distribution')

Ylim ([- 1 5])

Subplot (3, 1, 1, 3)

Hold on

Plot (XMagneYGravity LineWidthpiece 1.5)

% parameter LineWidth is lineweight

Plot_distribution_prctile (XMagna Yellownoisy Magnum Prctileurs, [25 50 75 90])

% parameter Prctile is the percentile value to be drawn

Hold off

Title ('plot\ _ distribution\ _ prctile')

Ylim ([- 1 5])

The above is about the content of this article on "what is the method of plot drawing filling". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more related knowledge, please pay attention to the industry information channel.

Tags: Content methods drawings parameters articles knowledge articles values distribution maps most that is curves more steps gray percentage histograms knowledge points industries information Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Microsoft vpn Apple Shulou Information