MATLAB Function Reference (Volume 2: Graphics)
MATLAB Function Reference (Volume 2: Graphics) MATLAB Function Reference (Volume 2: Graphics)
coneplotAdd Lighting to the SceneThe light source affects both the slice planes (surfaces) and the cone plots(patches). However, you can set the lighting characteristics of eachindependently.• Add a light source to the right of the camera and use Phong lighting give thecones and slice planes a smooth, three-dimensional appearance (camlight,lighting).• Increase the value of the AmbientStrength property for each slice plane toimprove the visibility of the dark blue colors. (Note that you can also specifya different colormap to change to coloring of the slice planes.)• Increase the value of the DiffuseStrength property of the cones to brightenparticularly those cones not showing specular reflections.camlight right; lighting phongset(hsurfaces,'AmbientStrength',.6)set(hcones,'DiffuseStrength',.8)2-98
coneplotSee Alsoisosurface, patch, reducevolume, smooth3, streamline, stream2, stream3,subvolume2-99
- Page 77 and 78: ar3, bar3hsubplot(3,2,4)bar3(Y,0.5,
- Page 79 and 80: oxPurpose2boxControl axes borderSyn
- Page 81 and 82: camdollyPurpose2camdollyMove the ca
- Page 83 and 84: camlightPurpose2camlightCreate or m
- Page 85 and 86: camlookatPurpose2camlookatPosition
- Page 87 and 88: camorbitPurpose2camorbitRotate the
- Page 89 and 90: campanPurpose2campanRotate the came
- Page 91 and 92: camposSee Alsoaxis, camproj, camtar
- Page 93 and 94: camrollPurpose2camrollRotate the ca
- Page 95 and 96: camtargetExamplesThis example moves
- Page 97 and 98: camupSee Alsoaxis, camproj, campos,
- Page 99 and 100: camvaSetting a camera view angle or
- Page 101 and 102: capturePurpose2captureis obsolete i
- Page 103 and 104: caxismap them to an entry in the co
- Page 105 and 106: caxisThe blue color of the ocean is
- Page 107 and 108: clabelPurpose2clabelContour plot el
- Page 109 and 110: clfPurpose2clfClear current figure
- Page 111 and 112: closemust specify the hidden option
- Page 113 and 114: colorbarExamplesDisplay a colorbar
- Page 115 and 116: colormapPurpose2colormapSet and get
- Page 117 and 118: colormapExamplesThe images and colo
- Page 119 and 120: ColorSpecPurpose2ColorSpecspecifica
- Page 121 and 122: cometPurpose2cometTwo-dimensional c
- Page 123 and 124: compassPurpose2compassPlot arrows e
- Page 125 and 126: coneplotPurpose2coneplotPlot veloci
- Page 127: coneplot• Draw the cones, setting
- Page 131 and 132: contourRemarksExamplesIf you do not
- Page 133 and 134: contour4512104010358830810258201510
- Page 135 and 136: contour3RemarksExamplesIf you do no
- Page 137 and 138: contourccontours using a regularly
- Page 139 and 140: contourfExamplesCreate a filled con
- Page 141 and 142: contoursliceExamplesThis example us
- Page 143 and 144: contrastPurpose2contrastGrayscale c
- Page 145 and 146: copyobjExamplesCopy a surface to a
- Page 147 and 148: cylinderExamplesCreate a cylinder w
- Page 149 and 150: daspectPurpose2daspectSet or query
- Page 151 and 152: daspectSetting the data aspect rati
- Page 153 and 154: datetickDateform Format Example12 m
- Page 155 and 156: default4Purpose2default4MATLAB Vers
- Page 157 and 158: dragrectPurpose2dragrectDrag rectan
- Page 159 and 160: errorbarPurpose2errorbarPlot error
- Page 161 and 162: errordlgPurpose2errordlgCreate and
- Page 163 and 164: ezcontourPurpose2ezcontourEasy to u
- Page 165 and 166: ezcontourSee Alsocontour, ezcontour
- Page 167 and 168: ezcontourff( x,y) 31 ( - x) 2 e- x2
- Page 169 and 170: ezmeshPurpose2ezmeshEasy to use 3-D
- Page 171 and 172: ezmeshSee Alsoezcontour, ezcontourf
- Page 173 and 174: ezmeshcArray multiplication, divisi
- Page 175 and 176: ezplotPurpose2ezplotEasy to use fun
- Page 177 and 178: ezplot3Purpose2ezplot3Easy to use 3
coneplotSee Alsoisosurface, patch, reducevolume, smooth3, streamline, stream2, stream3,subvolume2-99