MATLAB Function Reference (Volume 2: Graphics)
MATLAB Function Reference (Volume 2: Graphics) MATLAB Function Reference (Volume 2: Graphics)
stairsPurpose2stairsStairstep plotSyntaxDescriptionstairs(Y)stairs(X,Y)stairs(...,LineSpec)[xb,yb] = stairs(Y)[xb,yb] = stairs(X,Y)Stairstep plots are useful for drawing time-history plots of digitally sampleddata systems.stairs(Y) draws a stairstep plot of the elements of Y. When Y is a vector, thex-axis scale ranges from 1 to size(Y). When Y is a matrix, the x-axis scaleranges from 1 to the number of rows in Y.stairs(X,Y) plots X versus the columns of Y. X and Y are vectors of the samesize or matrices of the same size. Additionally, X can be a row or a columnvector, and Y a matrix with length(X) rows.stairs(...,LineSpec) specifies a line style, marker symbol, and color for theplot (see LineSpec for more information).[xb,yb] = stairs(Y) and [xb,yb] = stairs(x,Y) do not draw graphs, butreturn vectors xb and yb such that plot(xb,yb) plots the stairstep graph.ExamplesCreate a stairstep plot of a sine wave.x = 0:.25:10;stairs(x,sin(x))2-454
stairs10.80.60.40.20−0.2−0.4−0.6−0.8−10 2 4 6 8 10See Alsobar, hist2-455
- Page 433 and 434: educevolumePurpose2reducevolumeRedu
- Page 435 and 436: educevolumeSee Alsoisosurface, isoc
- Page 437 and 438: esetPurpose2resetReset graphics obj
- Page 439 and 440: gbplotPurpose2rgbplotPlot colormapS
- Page 441 and 442: ibbonExamplesCreate a ribbon plot o
- Page 443 and 444: oot objectProperty Name Property De
- Page 445 and 446: oot objectProperty Name Property De
- Page 447 and 448: Root Propertieswhich does not resta
- Page 449 and 450: Root PropertiesLanguagestringSystem
- Page 451 and 452: Root PropertiesShowHiddenHandleson
- Page 453 and 454: osePurpose2roseAngle histogramSynta
- Page 455 and 456: otatePurpose2rotateRotate object ab
- Page 457 and 458: otate3dPurpose2rotate3dRotate axes
- Page 459 and 460: scatter−47.95−48−48.05−48.1
- Page 461 and 462: scatter3Examples[x,y,z] = sphere(16
- Page 463 and 464: semilogx, semilogyPurpose2semilogx,
- Page 465 and 466: setPurpose2setSet object properties
- Page 467 and 468: setparticular figure. When this fig
- Page 469 and 470: shadingAlgorithmshading sets the Ed
- Page 471 and 472: shrinkfacesPurpose2shrinkfacesReduc
- Page 473 and 474: shrinkfacesAfter Shrinking210−1
- Page 475 and 476: sliceRemarks The color drawn at eac
- Page 477 and 478: sliceThe following picture illustra
- Page 479 and 480: slice21.510.50−0.5−1−1.5−22
- Page 481 and 482: spherePurpose2sphereGenerate sphere
- Page 483: spinmapPurpose2spinmapSpin colormap
- Page 487 and 488: stemExamplesCreate a stem plot of 1
- Page 489 and 490: stem3:21.510.500.50.40.30.20.1000.2
- Page 491 and 492: stream3Purpose2stream3Compute 3-D s
- Page 493 and 494: streamlineor[stepsize, max_number_v
- Page 495 and 496: subplothandle, so it is an error to
- Page 497 and 498: subvolume• A 100-element grayscal
- Page 499 and 500: surf, surfcAlgorithmAbstractly, a p
- Page 501 and 502: surf, surfcColor a sphere with the
- Page 503 and 504: surf2patchAlso, because patch is a
- Page 505 and 506: surfaceRemarksUnlike high-level are
- Page 507 and 508: surfaceObjectHierarchyRootFigureAxe
- Page 509 and 510: surfaceProperty Name Property Descr
- Page 511 and 512: surfaceProperty Name Property Descr
- Page 513 and 514: Surface PropertiesButtonDownFcn str
- Page 515 and 516: Surface PropertiesEdgeColor{ColorSp
- Page 517 and 518: Surface PropertiesFaceColorColorSpe
- Page 519 and 520: Surface Propertiesgetframe, or paus
- Page 521 and 522: Surface PropertiesMarkerSize size i
- Page 523 and 524: Surface PropertiesVertexNormals vec
- Page 525 and 526: surfllight source, use surfl(X',Y',
- Page 527 and 528: surfnormPurpose2surfnormCompute and
- Page 529 and 530: terminalPurpose2terminalSet graphic
- Page 531 and 532: texlabelPurpose2texlabelProduce TeX
- Page 533 and 534: textPurpose2textCreate text object
stairsPurpose2stairsStairstep plotSyntaxDescriptionstairs(Y)stairs(X,Y)stairs(...,LineSpec)[xb,yb] = stairs(Y)[xb,yb] = stairs(X,Y)Stairstep plots are useful for drawing time-history plots of digitally sampleddata systems.stairs(Y) draws a stairstep plot of the elements of Y. When Y is a vector, thex-axis scale ranges from 1 to size(Y). When Y is a matrix, the x-axis scaleranges from 1 to the number of rows in Y.stairs(X,Y) plots X versus the columns of Y. X and Y are vectors of the samesize or matrices of the same size. Additionally, X can be a row or a columnvector, and Y a matrix with length(X) rows.stairs(...,LineSpec) specifies a line style, marker symbol, and color for theplot (see LineSpec for more information).[xb,yb] = stairs(Y) and [xb,yb] = stairs(x,Y) do not draw graphs, butreturn vectors xb and yb such that plot(xb,yb) plots the stairstep graph.ExamplesCreate a stairstep plot of a sine wave.x = 0:.25:10;stairs(x,sin(x))2-454