Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - Français

Change language to:
English - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Aide de Scilab >> Graphiques > 3d_plot > bar3d

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>)

Paramètres

mtx

matrice de taille (m,n) définissant l'histogramme mtx(i,j)=F(x(i),y(j)), où x et y sont considérés égaux à 0:m et 0: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)), avec x et y 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.

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;

clf
bar3d(Z)
isoview off
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

Voir aussi

  • hist3d — représentation 3D d'un histogramme (obsolète)
  • histplot — dessine un histogramme
  • plot3d — 3D plot of a surface

Historique

VersionDescription
6.1.0 Introduction de bar3d(), égal à l'actuel hist3d() à redéfinir.
Report an issue
<< 3d_plot 3d_plot comet3d >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jan 03 14:33:07 CET 2022