bar3d
Graphique en barres 3D
Séquence d'appel
bar3d() // Exemple bar3d(mtx,[theta,alpha,leg,flag,ebox]) bar3d(mtx,<opt_args>) bar3d(list(mtx,x,y),[theta,alpha,leg,flag,ebox]) bar3d(list(mtx,x,y),<opt_args>) hdl = bar3d(...)
Paramètres
- mtx
matrice de taille (m,n) définissant l'histogramme
mtx(i,j)=F(x(i),y(j))
, oùx
ety
sont considérés égaux à0:m
et0:n
.- list(mtx,x,y)
où mtx est une matrice de taille (m,n) définissant l'histogramme
mtx(i,j)=F(x(i),y(j))
, avecx
ety
deux vecteurs de tailles respectives (1,m+1) et (1,n+1).- <opt_args>
Représente une séquence de la forme
clé1=valeur1, clé2=valeur2
,... oùclé1, clé2,...
peut être n'importe quel paramètre optionnel de plot3d (theta,alpha,leg,flag,ebox
).- theta,alpha,leg,flag,ebox
voir plot3d.
- hdl
Argument de sortie dans lequel est renvoyé le handle de l'objet graphique de type
Fac3d
créé par la fonction. Il peut être utilisé pour modifier ses propriétés (voir surface_properties).
Description
bar3d
représente un histogramme 2D dans
l'espace. Les valeurs sont associées aux intervalles
[x(i), x(i+1)[ × [y(i), y(i+1)[
.
bar3d()
affiche un exemple illustrant la fonction.
Exemples
bar3d();

bar3d(grand(10, 10, "nor", 0, 10))


Z = zeros(100,5); A = abs(rand(40,5)); Z(1:40,:) = A; Index = find(Z==0); Z(Index) = %nan; clf bar3d(Z) isoview off

Z = zeros(100,5); A = abs(rand(40,5)); Z(1:40,:) = A; A = abs(rand(10,5)); Z(91:100,:) = A; clf bar3d(Z) isoview off

Historique
Version | Description |
6.1.0 | hist3d() a été renommé en bar3d(). |
2025.0.0 | La fonction renvoie le(s) handle(s) créé(s). |
Report an issue | ||
<< 3d_plot | 3d_plot | comet3d >> |