chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:30:25 +08:00
commit f19b2512d7
562 changed files with 38082 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
function plotCurveBar( x, y, sigma )
% Plot 1d curve and variance
% Input:
% x: 1 x n
% y: 1 x n
% sigma: 1 x n or scaler
% Written by Mo Chen (sth4nth@gmail.com).
color = [255,228,225]/255; %pink
[x,idx] = sort(x);
y = y(idx);
sigma = sigma(idx);
fill([x,fliplr(x)],[y+sigma,fliplr(y-sigma)],color);
hold on;
plot(x,y,'r-');
hold off
axis([x(1),x(end),-inf,inf])