ListDensityPlot[{{f11,…,f1n},…,{fm1,…,fmn}}]
値 fijの配列から滑らかな密度のプロットを生成する.
ListDensityPlot[{{x1,y1,f1},…,{xk,yk,fk}}]
指定された点{xi,yi}で定義された値 fiの密度プロットを生成する.
ListDensityPlot
ListDensityPlot[{{f11,…,f1n},…,{fm1,…,fmn}}]
値 fijの配列から滑らかな密度のプロットを生成する.
ListDensityPlot[{{x1,y1,f1},…,{xk,yk,fk}}]
指定された点{xi,yi}で定義された値 fiの密度プロットを生成する.
詳細とオプション
- ListDensityPlotは,色分け地図および強度プロットとしても知られている.
- 規則的なデータ{{f11,…,f1n},…,{fm1,…,fmn}}は点{x,y}における色を
としてプロットされる.ただし,
の値は fijで c は色値関数である. - 不規則データ{{x1,y1,f1},…,{xk,yk,fk}}は点{x,y}における色を
としてプロットされる.ただし,
の値は fiで c は色値関数である. - プロットは集合
を可視化する.ただし,
は色値関数で領域
は規則的なデータについてはデカルト積
,不規則データについては{{x1,y1},…,{xn,yn}}の凸包である. - 値 fijについての
の位置は,規則的なデータ{{f11,…,f1n},…,{fm1,…,fmn}}の場合は
であるとみなされる.オプションDataRangeを使ってこれを無効にする. - ListDensityPlotは連続データを対象としている.ArrayPlotは離散データを対象としている.
- デフォルトで,カラースケールが生成する出力では大きい値が明るい色で表示される.
- ListDensityPlot[data]は data について次の形と解釈を使うことができる.
-
{<|xkeyx1,ykeyy1,fkeyf1|>,…,<|xkeyxn,ykeyyn,fkeyfn|>} 不規則な3つ一組の
,{xi,yi,fi}{{x1,y1},…,{xn,yn}}{f1,…,fn} 不規則な3つ一組の
,{xi,yi,fi}Dataset 通常の配列としての値 NumericArray 通常の配列としての値 QuantityArray 大きさ SparseArray 通常の配列としての値 - ListDensityPlot[Tabular[…]cspec]は,列指定 cspec を使って表形式オブジェクトから値を抽出し,これをプロットする.
- 次は,表形式データのプロットに使用可能な列指定 cspec の形式である.
-
{colx,coly,colz} 列 z と列 x および列 y をプロットする {{colx1,coly1,colz1},{colx2,coly2,colz2},…} 列 z1と列 x1および列 y1,列 z2 と列 x2および y2をプロットする等 - ListDensityPlotには,Graphicsと同じオプションに以下の追加・修正を加えたものが設定できる. [全オプションのリスト]
- DataRangeは,配列{{f11,…,f1n},…,{fm1,…,fmn}}の値 fijについての{x,y}の位置を決定する.次は,使用可能な設定である.
-
Automatic,All x は1から n まで,y は1から m まで一様 {{xmin,xmax},{ymin,ymax}} x は xminから xmaxまで,y は yminから ymaxまで一様 - ListDensityPlot[{{a11,a12,a13},…}]の場合は規則的なデータとも不規則データとも解釈できる.DataRange->Automaticのときは不規則な{{x1,y1,f1},{x2,y2,f2},…}と解釈され,DataRangeAllのときは規則的な{{f11,…,f1n},…,{fm1,…,fmn}}と解釈される.
- ScalingFunctionsの可能な設定値
-
sf f の値をスケールする {sx,sy} x 軸と y 軸をスケールする {sx,sy,sf} x 軸,y 軸,f の値をスケールする - 各スケーリング関数 siは,"scale"または{g,g-1}である.ただし,g-1は g の逆数である.
- ListDensityPlot[array]の場合,Mesh->Fullでは各データ点の位置で交差するメッシュが描かれる.
- 関数MeshFunctionsおよびRegionFunctionに渡される引数は x,y,f である.
- ColorFunctionには,デフォルトで f の値をスケールすることで単一の引数が与えられる.
- PlotLegendsのよく使われる設定値
-
None 凡例は使わない Automatic ColorFunctionから凡例を自動的に決定する Placed[lspec,…] 凡例の置き方を指定する - 次は,単一の密度を複数のプロットパネルのそれぞれに表示するPlotLayoutの可能な設定である.
-
"Column" パネルの列に別々の密度を使う "Row" パネルの行に別々の密度を使う {"Column",k},{"Row",k} k 列(または行)を使う {"Column",UpTo[k]},{"Row",UpTo[k]} 最大で k 列(または行)を使う - VertexColorsの設定は,値の配列および値のリストと同じ構造を持った配列あるいはリストでなければならない.
- VertexColorsの明示的な設定は,ColorFunctionで指定される色に優先する.
- ListDensityPlotはGraphics[GraphicsComplex[data]]を返す.
全オプションのリスト
例題
すべて開く すべて閉じる例 (4)
ListDensityPlot[{{1, 1, 1, 1}, {1, 2, 1, 2}, {1, 1, 3, 1}, {1, 2, 1, 4}}, Mesh -> All]ListDensityPlot[{{0, 0, 1}, {1, 0, 0}, {0, 1, 0}}, Mesh -> All]data = Table[With[{r = RandomReal[{0, 5}], t = RandomReal[{0, 2Pi}]}, {r Cos[t], r Sin[t], Sin[r ^ 2] / r ^ 2}], {10 ^ 4}];ListDensityPlot[data, PlotRange -> All]複数パネルのレイアウトを使って複数のデータ集合を同時に表示する:
ListDensityPlot[{IconizedObject[«Subscript[data, 1]»], IconizedObject[«Subscript[data, 2]»]}, PlotLayout -> "Row"]data = Table[Sin[j ^ 2 + i], {i, 0, Pi, Pi / 5}, {j, 0, Pi, Pi / 5}];Table[ListDensityPlot[data, Mesh -> None, InterpolationOrder -> o, ColorFunction -> "SouthwestColors"], {o, {0, 1, 2, 3}}]スコープ (16)
データ (8)
値からなる正則データの場合,
と
のデータ範囲は整数値であるとみなされる:
ListDensityPlot[Table[Sin[x y], {x, 0, 3, 0.1}, {y, 0, 3, 0.1}], Mesh -> All]DataRangeを使って
と
のデータの明示的な範囲を与える:
ListDensityPlot[Table[Sin[x y], {x, 0, 3, 0.1}, {y, 0, 3, 0.1}], DataRange -> {{0, 3}, {0, 3}}]
の3つ1組からなる非正則データの場合,
と
のデータ範囲はデータから推測される:
data = Table[{x = RandomReal[{-1, 1}], y = RandomReal[{-1, 1}], x ^ 2 - y ^ 2}, {300}];ListDensityPlot[data, Mesh -> All]ListDensityPlot[ReplacePart[Partition[Range[100], 10], {{3, 3} -> None, {5, 7} -> I, {8, 4} -> Missing["NotAvailable"]}], Mesh -> All]MaxPlotPointsを使って使用する点の数を制限する:
Table[ListDensityPlot[Table[Sin[x y], {x, 0, 3, 0.075}, {y, 0, 3, 0.075}], MaxPlotPoints -> mp, Mesh -> All], {mp, {Infinity, 20, 10}}]PlotRangeは自動的に選ばれる:
ListDensityPlot[Table[1 / (x ^ 2 + y ^ 2), {x, -2, 2, 4 / 51}, {y, -2, 2, 4 / 51}]]PlotRangeを使って関心領域に焦点を当てる:
{ListDensityPlot[Table[x ^ 4 + y ^ 4 - x ^ 2 - y ^ 2 + 1, {x, -2, 2, 0.1}, {y, -2, 2, 0.1}]], ListDensityPlot[Table[x ^ 4 + y ^ 4 - x ^ 2 - y ^ 2 + 1, {x, -2, 2, 0.1}, {y, -2, 2, 0.1}], PlotRange -> {0, 2}, ClippingStyle -> None]}RegionFunctionを使って密度プロットを不等式で与えられる範囲に制限する:
data = Flatten[Table[{x, y, Sin[x ^ 2 + y ^ 2] / (x ^ 2 + y ^ 2)}, {x, -4, 4, 0.2}, {y, -4, 4, 0.2}], 1];//QuietListDensityPlot[data, PlotRange -> All, RegionFunction -> Function[{x, y, z}, Norm[{x, y}] < 4]]表形式データ (1)
tabular = Tabular[Association["RawSchema" -> Association["ColumnProperties" ->
Association["x" -> Association["ElementType" -> "Real64"],
"y" -> Association["ElementType" -> "Real64"], "f" -> Association["ElementType" -> "Real64"],
"g" -> Association["ElementType" -> "Real64"]], "KeyColumns" -> None,
"Backend" -> "WolframKernel"], "BackendData" ->
Association["ColumnData" -> DataStructure["ColumnTable",
{{TabularColumn[Association["Data" -> {{-0.33582559210197255, 0.8803676729681109,
-0.003450317591317193, -0.5776054861233806, -0.18944540146303104, 0.08137938087842855,
0.7104751091887305, -0.7249989427695543, 0.7189171513953225, 0.07484856016827364,
0.08394237912410371, -0.8397091750258563, -0.34613065738227494, 0.3153135739547788,
0.1915099877033827, 0.6156751086440714, -0.6764522289849321, 0.42594752908865297,
0.5452064158161848, -0.20490357958422162, 0.2656442175819875, 0.5930624991868867,
-0.7653974593098988, -0.405399907196919, 0.4261842168600495, 0.007537997753683873,
0.02320951605378001, 0.029467822857674145, -0.7726538362038052, -0.8906519148256042,
-0.38273234260173566, -0.04463951504268252, -0.16350850917765758, 0.4690419314081237,
-0.07389578232631427, -0.17270808669527418, -0.5037831593577057, -0.03935310416421582,
0.15289554619000345, 0.4761074052545588, 0.01960730503071178, 0.346592918693779,
-0.47057706227574775, -0.35440713666529167, -0.34731051462701956, -0.0457101610377397,
0.04848867532803812, 0.04010379877047812, 0.36938420883956324, -0.10815861126341457,
0.6830059609993497, -0.03055755892317922, 0.052870816573050865, 0.179789625890681,
0.023635433559453523, -0.030528341731038623, -0.21544153070879574, 0.5826821668876411,
-0.20600453971631344, -0.42604275708726047, -0.3929283758555415, -0.5043728799993309,
0.04899025018573085, -0.6259318276915798, -0.7385675893002966, 0.02511690116030315,
-0.4164641437703871, -0.44641422111020956, 0.05742014701654436, 0.18026818253918503,
-0.25393260418265173, 0.6021117017355871, 0.37177688919047097, 0.11360855924293391,
-0.25955329915886216, 0.5489751164992835, 0.23958190188503348, 0.39276345483198566,
0.3478442618183317, -0.3456381030733422, 0.4225740854243536, 0.050722540211116975,
-0.4339376582341843, -0.8928688667944833, 0.2875870676301678, 0.04838535997016681,
0.17191625353893386, -0.040332095223106545, 0.2979213513808396, -0.25100379031925163,
0.018748029889601718, 0.3372233005229358, 0.5402016231417128, 0.05153948798389716,
0.06657679195492089, 0.507705731340098, 0.23183070367402803, 0.17700860995773013,
-0.46345961004467046, -0.6014722768342563, -0.3922042067620207, 0.46797042738344224,
-0.6158846471708826, -0.21699658897203888, -0.5884939906085117, 0.5155817648259232,
0.038469952543080936, -0.5307883875682963, 0.09721123850987222, 0.3363794736422771,
0.03788984473431475, -0.48615099167870535, 0.03748937070711202, 0.5612941694265542,
0.07205272450151311, 0.30972359067445165, -0.14344517208631288, -0.09100952129998968,
-0.6066500430261582, -0.22052556751928473, 0.47003854859072286, 0.1595273318284402,
-0.03860225460772638, 0.5251973641127975, -0.30222122163790915, -0.040424594644161975,
0.3704616954568948, 0.375203639020476, -0.15731117999349786, -0.5402663560146413,
0.0017958271756500443, 0.7042906004786842, -0.2581690297697128, -0.7406702017442801,
0.7443264602887835, -0.5384351417571395, 0.1597222348452349, 0.3260164469009681,
0.18083274349158138, 0.33096472385489184, -0.6405785635713598, 0.2571675133342489,
0.41891532310320506, -0.18246530531294006, 0.5807105548239027, 0.01799972403389352,
-0.02399787933864095, 0.3512402551683941, -0.12710039402331913, -0.14875144251467443,
0.4836386106491894, 0.4045689471949738, -0.389211183018424, -0.4132772147311336,
0.4888407559699957, -0.3951245745675573, -0.7165591324044193, -0.20907255373597197,
-0.22856965055876172, -0.3673381942839634, -0.1410469034783053, -0.009661409233815388,
-0.39919895738938344, -0.37096936498542143, 0.662931082598076, -0.016494755798288147,
0.33106254724578527, 0.5559302765103005, -0.1895047357455171, 0.4457984306185924,
-0.39170159845212427, 0.7480628908636631, 0.5124033874417243, 0.7707606882795327,
-0.1872735900152881, 0.585417550107661, -0.3063201531061375, 0.5852948104227167,
0.5850235449060104, -0.2176121958842699, -0.6984400530394087, 0.03257926667939274,
-0.9384991346972504, -0.059169774448424466, 0.5 ... Type" -> "Real64"]], TabularColumn[
Association["Data" -> {{0.8939921590638151, 0.09599126606056499, -1.4461887698687872,
0.3574534768754277, -1.121171318799583, -0.33073336818577137, 0.9259094587267503,
0.042022916683887426, 0.892305825288878, -0.5540058901593593, -0.03510132460611314,
0.18571071889023255, -0.2772288527592096, -0.7716551383714281, 0.4068956517806689,
0.36221629323967275, 0.8982381800002951, -0.40620115298861925, 0.3054024974923232,
-0.6163159803789945, -0.07859957322062693, 0.28549955900599683, 0.3312036742634056,
0.26331224460193225, -0.05870202519594381, 0.00031555230999197326,
-0.7436146779660238, -1.14390630001407, 0.1411388081014004, 0.046792707579414866,
-0.3774362463202895, 0.022381136398829594, -0.4960159800986063, 0.3796350869710431,
-1.138603222451506, -0.23455582228395613, 0.2659092692654318, -1.183528195744674,
-0.4791210452818651, -0.29303339287164004, -0.5211330588561782, -0.13502698285089174,
0.7870363346872017, 0.8982544467986264, -0.22914999050005214, -0.2479061783114385,
-0.4347495019488776, -0.08331096396423883, 0.8772708961908716, -0.27178839713175307,
0.9483092790315122, -0.4724839296008851, -1.0909555502232477, -0.9408472343160451,
-1.3960488289616102, -0.5202140745791314, -0.19832524998359002, 0.7868474016813832,
0.35042789273021696, -0.22195854339794094, 1.0239338679811123, 1.241797268360188,
-1.0053256713543575, 0.8794698395861581, 0.646958311741143, -0.30533288076463466,
-0.12791364372821087, 0.5168966892467696, -0.854322017990838, 0.3237507945931768,
-0.3365136569790853, -0.07542508011071905, -0.1896622911757588, -0.8151518333271205,
-0.785903912584512, 0.9943540702594823, -0.09970798805958633, 0.8155460093130154,
0.2517100213619473, -0.5074402739814479, 1.054331521209021, -0.37095280525637275,
-0.0033124165376286503, 0.00810519783609609, 0.604491487382795, -1.087039179804143,
0.3217896701925536, -0.9757724909993218, -0.5296157669589694, -0.44353010018306926,
-0.9772156827519269, 0.9974526044782488, 1.0401382798005163, -1.333826721300462,
-1.1657073859193974, 0.5988738776781478, -0.46515644169593257, -0.06189485735399641,
0.43024118140166445, -0.005056861065915311, 0.4969647835990133, 1.2389334026274614,
1.0969746972416095, 0.2699914383982267, -0.007263249176729766, 0.025694595799883486,
0.009334789628101163, 0.3959739514237559, -0.6919031699208391, -0.5727673459546412,
-0.7526649101588971, 0.37676652058113047, -1.1097067424942098, 0.7907395601868871,
-0.9921651497523799, -0.7285869946231459, -0.8828106067813857, -0.062486591022684154,
0.5791694114075633, -0.3234808446001126, -0.29576406882665246, -0.7873078267171731,
-1.0345538770658507, 0.6447352486264667, -0.09256576962703741, -0.9165601254045901,
-0.11276989000586415, 0.1559393927752605, -0.6024250703013618, 0.14448974619397612,
-0.04760739467769851, 0.7709694771458564, -0.014742247510236057, 0.23626276607833294,
0.6638730651502748, -0.03186729016669311, -1.0357092218146797, 0.6433340083061274,
-0.9411413021162254, 0.4909973640778654, 0.7189944529089185, 0.11055457421211713,
1.267850511973201, -0.9438375692417983, 0.17379076568211732, -0.10851220031896575,
-1.2713361573907198, 0.3346883790200734, -0.0621077599435433, -0.04321780837452255,
-0.18862788259467456, 0.021760098075714426, 0.8532897115032967, -0.28556892622426977,
0.15408641950632404, -0.1714149113043416, 0.39533058049223047, -0.4397787874261183,
-0.9441709999324307, 0.6380059863875251, -1.079304150111603, -0.015220209887687373,
0.04287582799227833, -0.36459460042586384, 1.085392552357007, -1.4351301279221556,
-0.2639348179992805, 1.0262808227866909, -0.6574884811876281, 0.03985598924795783,
-0.3005474803479229, 0.6683106567979948, -0.23062780939455543, 0.5666187686239714,
0.37219192126078904, -0.02563679932918994, 0.4429249457425396, -0.04381111047074612,
0.187906287726331, -0.9973413808733808, 0.00426805123864777, -0.12866722429447683,
0.00749480936676912, -0.8515711317056425, -0.08786646448345839, 0.2606608909833542,
0.9058373813263996, 0.11471040362679649, 0.019510758576114784, 0.07867647334176021,
0.018095050021316034, -0.9234813248766701, 0.27933341322409344, -0.6676322195851319,
-0.4217872567696394, -0.810239936029394, -0.9402166292180882, 0.17133206921427285,
1.2481069003723113, 0.9831436029884254}, {}, None}, "ElementType" -> "Real64"]]}}]]]];列 x と列 y の上に列 f の陰影付きの密度プロットをプロットする:
ListDensityPlot[tabular -> {"x", "y", "f"}]ListDensityPlot[tabular -> {{"x", "y", "f"}, {"x", "y", "g"}}, PlotLayout -> "Row"]ListDensityPlot[tabular -> {{"x", "y", "f"}, {"x", "y", "g"}}, PlotLayout -> "Row", PlotLegends -> Automatic]プレゼンテーション (7)
ListDensityPlot[Table[Sin[i + j ^ 2], {i, 0, 3, 0.1}, {j, 0, 3, 0.1}], FrameLabel -> {j, i}, PlotLabel -> Sin[i + j ^ 2], ColorFunction -> "SunsetColors"]ListDensityPlot[Table[Sin[i + j ^ 2], {i, 0, 3, 0.05}, {j, 0, 3, 0.05}], ColorFunction -> Function[{z}, Hue[z]]]ListDensityPlot[Table[Sin[i + j ^ 2], {i, 0, 3, 0.05}, {j, 0, 3, 0.05}], ColorFunction -> "SolarColors", PlotLegends -> Automatic]ListDensityPlot[Table[Sin[i + j ^ 2], {i, 0, 3, 0.1}, {j, 0, 3, 0.1}], Mesh -> 8, ColorFunction -> "DeepSeaColors", MeshFunctions -> {Function[{x, y, z}, z]}, MeshStyle -> Directive[Dashed, Gray]]密度プロットに対するインタラクティブなTooltipを与える:
ListDensityPlot[Tooltip[Table[Sin[i + j ^ 2], {i, 0, 3, 0.05}, {j, 0, 3, 0.05}], TraditionalForm@Sin[i + j ^ 2]], ColorFunction -> "SouthwestColors"]ListDensityPlot[Table[Sin[i + j ^ 2], {i, 0, 3, 0.1}, {j, 0, 3, 0.1}], PlotTheme -> "Web"]複数パネルのレイアウトを使って複数のデータ集合を同時に表示する:
ListDensityPlot[{IconizedObject[«1-norm»], IconizedObject[«2-norm»]}, PlotLayout -> "Row"]ListDensityPlot[{IconizedObject[«Subscript[L, 1] norm»], IconizedObject[«Subscript[L, 2] norm»]}, PlotLayout -> "Column"]オプション (98)
AspectRatio (4)
デフォルトで,ListDensityPlotは縦横に同じ長さを使う:
ListDensityPlot[IconizedObject[«data»]]ListDensityPlot[IconizedObject[«data»], AspectRatio -> 1 / 2]AspectRatioAutomaticはプロット範囲から比を決定する:
ListDensityPlot[IconizedObject[«data»], AspectRatio -> Automatic]AspectRatioFullは別の構造物内にぴったりおさまるように高さと幅を調整する:
plot = ListDensityPlot[IconizedObject[«data»], AspectRatio -> Full];{Framed[Pane[plot, {70, 100}]], Framed[Pane[plot, {100, 100}]], Framed[Pane[plot, {100, 50}]]}Axes (4)
デフォルトで,ListDensityPlotは軸の代りに枠を使う:
ListDensityPlot[IconizedObject[«data»]]ListDensityPlot[IconizedObject[«data»], Frame -> False, Axes -> True]AxesOriginを使って軸の交点を指定する:
ListDensityPlot[IconizedObject[«data»], Frame -> False, Axes -> True, AxesOrigin -> {3, 3}]{ListDensityPlot[IconizedObject[«data»], Frame -> False, Axes -> {True, False}], ListDensityPlot[IconizedObject[«data»], Frame -> False, Axes -> {False, True}]}AxesLabel (4)
ListDensityPlot[IconizedObject[«data»], Frame -> False, Axes -> True]ListDensityPlot[IconizedObject[«data»], Frame -> False, Axes -> True, AxesLabel -> y]ListDensityPlot[IconizedObject[«data»], Frame -> False, Axes -> True, AxesLabel -> {x, y}]ListDensityPlot[QuantityArray[IconizedObject[«{m, s, K} data»], {"Meters", "Seconds", "Kelvins"}], Frame -> False, Axes -> True, AxesLabel -> Automatic]AxesOrigin (2)
AxesStyle (4)
ListDensityPlot[IconizedObject[«data»], Frame -> False, Axes -> True, AxesStyle -> Red]ListDensityPlot[IconizedObject[«data»], Frame -> False, Axes -> True, AxesStyle -> {Red, Blue}]ListDensityPlot[IconizedObject[«data»], Frame -> False, Axes -> True, AxesStyle -> Green, TicksStyle -> Black]ListDensityPlot[IconizedObject[«data»], Frame -> False, Axes -> True, AxesStyle -> Green, LabelStyle -> Black]BoundaryStyle (4)
ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}]]ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}], BoundaryStyle -> Red]BoundaryStyleはRegionFunctionで切り取られた穴に適用される:
ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}], BoundaryStyle -> Red, RegionFunction -> Function[{x, y, z}, Abs[z] ≥ 0.4]]BoundaryStyleは,データに関連付けられたボロノイ(Voronoi)領域に適用される:
ListDensityPlot[{{10, 10, 1}, {6, 8, 10}, {7, 9, 9}, {1, 1, 2}, {4, 6, 4}, {7, 4, 9}, {10, 6, 8}}, InterpolationOrder -> 0, BoundaryStyle -> Red]ClippingStyle (4)
ListDensityPlot[Table[Im[Gamma[x + I y]], {y, -3.5, 3.5, 0.1}, {x, -3.5, 3.5, 0.1}]]切り取られた部分を密度プロットの他の部分と同じように彩色する:
ListDensityPlot[Table[Im[Gamma[x + I y]], {y, -3.5, 3.5, 0.1}, {x, -3.5, 3.5, 0.1}], ClippingStyle -> Automatic]ListDensityPlot[Table[Im[Gamma[x + I y]], {y, -3.5, 3.5, 0.1}, {x, -3.5, 3.5, 0.1}], ClippingStyle -> Pink]曲面が上の方で切り取られた部分には薄い赤を,下の方で切り取られた部分にはピンクを使う:
ListDensityPlot[Table[Im[Gamma[x + I y]], {y, -3.5, 3.5, 0.1}, {x, -3.5, 3.5, 0.1}], ClippingStyle -> {Pink, LightRed}]ColorFunction (5)
ListDensityPlot[Table[y + Sin[x ^ 2 + y ^ 2], {x, -4, 4, 0.2}, {y, -4, 4, 0.2}], ColorFunction -> Hue]ListDensityPlot[Table[x + Sin[3x + y ^ 2], {x, -3, 3, 0.1}, {y, -3, 3, 0.1}], ColorFunction -> GrayLevel]ListDensityPlot[Table[x + Sin[3x + y ^ 2], {x, -3, 3, 0.1}, {y, -3, 3, 0.1}], ColorFunction -> "SunsetColors"]ListDensityPlot[Table[x + Sin[3x + y ^ 2], {x, -3, 3, 0.1}, {y, -3, 3, 0.1}], ColorFunction -> (Hue[2 / 5, 2 / 3, #]&)]ListDensityPlot[Table[x + Sin[3x + y ^ 2], {x, -3, 3, 0.1}, {y, -3, 3, 0.1}], ColorFunction -> (RGBColor[1 - #, #, 1]&)]ColorFunctionScaling (1)
ColorFunctionScalingをFalseにして値の自然な範囲を得る:
ListDensityPlot[Table[550 + 150 Sin[x]Sin[y], {x, 0, 2Pi, 0.1}, {y, 0, 2Pi, 0.1}], ColorFunction -> (ColorData["VisibleSpectrum"][#1]&), ColorFunctionScaling -> False]DataRange (4)
ListDensityPlot[Table[Sin[i + j], {i, 0, 2Pi, 0.1}, {j, 0, 2Pi, 0.1}]]ListDensityPlot[Table[Sin[i + j], {i, 0, 2Pi, 0.1}, {j, 0, 2Pi, 0.1}], DataRange -> {{0, 2Pi}, {0, 2Pi}}]data = Flatten[Table[{i, j, Sin[i + j]}, {j, 0, 2Pi, 0.5}, {i, -3, 3}], 1];ListDensityPlot[data, Mesh -> All]data = Table[Sin[i + j], {j, 0, 2Pi, 0.5}, {i, -1, 1}];ListDensityPlot[data, DataRange -> All, Mesh -> All]ListDensityPlot[data, Mesh -> All]ImageSize (7)
Tiny,Small,Medium,Largeのように名前付きのサイズを使う:
{ListDensityPlot[IconizedObject[«data»], ImageSize -> Tiny], ListDensityPlot[IconizedObject[«data»], ImageSize -> Small]}{ListDensityPlot[IconizedObject[«data»], ImageSize -> 150], ListDensityPlot[IconizedObject[«data»], AspectRatio -> 1.5, ImageSize -> 150]}{ListDensityPlot[IconizedObject[«data»], ImageSize -> {Automatic, 150}], ListDensityPlot[IconizedObject[«data»], AspectRatio -> 2, ImageSize -> {Automatic, 150}]}{ListDensityPlot[IconizedObject[«data»], ImageSize -> UpTo[200]], ListDensityPlot[IconizedObject[«data»], AspectRatio -> 2, ImageSize -> UpTo[200]]}グラフィックスの幅と高さを指定し,必要な場合は空白で充填する:
ListDensityPlot[IconizedObject[«data»], ImageSize -> {200, 250}, Background -> StandardGray]AspectRatioFullと設定すると使用可能な空間が埋められる:
ListDensityPlot[IconizedObject[«data»], AspectRatio -> Full, ImageSize -> {200, 250}, Background -> StandardGray]{ListDensityPlot[IconizedObject[«data»], ImageSize -> {UpTo[150], UpTo[100]}], ListDensityPlot[IconizedObject[«data»], AspectRatio -> 2, ImageSize -> {UpTo[150], UpTo[100]}]}ImageSizeFullを使ってオブジェクト内の使用可能な空間を埋める:
Framed[Pane[ListDensityPlot[IconizedObject[«data»], ImageSize -> Full, Background -> StandardGray], {200, 100}]]Framed[Pane[ListDensityPlot[IconizedObject[«data»], ImageSize -> {Scaled[0.5], Scaled[0.5]}, Background -> StandardGray], {200, 100}]]InterpolationOrder (5)
ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.5}, {j, 0, Pi, 0.5}], PlotRange -> All, Mesh -> All]ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.5}, {j, 0, Pi, 0.5}], Mesh -> None, InterpolationOrder -> 0, PlotRange -> All]ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.5}, {j, 0, Pi, 0.5}], Mesh -> None, InterpolationOrder -> 3, PlotRange -> All]Table[ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.5}, {j, 0, Pi, 0.5}], Mesh -> None, InterpolationOrder -> i, Mesh -> Full, PlotLabel -> i, PlotRange -> All], {i, 0, 5}]非正則データの場合,零次補間は各点についてボロノイ(Vorono)領域を与える:
data = Flatten[Table[{r Sin[t], r Cos[t], Sqrt[r t]}, {t, 0, 2Pi, 0.5}, {r, 0, 2, 0.5}], 1];ListDensityPlot[data, Mesh -> All, InterpolationOrder -> 0]MaxPlotPoints (4)
ListDensityPlotは一般にデータ中のすべての点を使う:
ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}], Mesh -> All]data = Table[{x = RandomReal[Pi], y = RandomReal[Pi], Sin[x ^ 2 + y]}, {500}];ListDensityPlot[data, Mesh -> All]ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}], MaxPlotPoints -> 10, Mesh -> All]MaxPlotPointsは不規則データに構造格子を強制する:
data = Table[{x = RandomReal[Pi], y = RandomReal[Pi], Sin[x ^ 2 + y]}, {500}];ListDensityPlot[data, Mesh -> All, MaxPlotPoints -> 10]data = Select[RandomReal[3, {500, 3}], Norm[#] < Pi&];ListDensityPlot[data, Mesh -> All, MaxPlotPoints -> 10]Mesh (7)
ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}], Mesh -> None]data = Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.25}, {j, 0, Pi, 0.25}];{ListDensityPlot[data, Mesh -> Full], ListDensityPlot[data, Mesh -> All]}不規則データのメッシュ全体はドロネー(Delaunay)三角分割法である:
data = Table[{x = RandomReal[3], y = RandomReal[3], Sin[x ^ 2 + y]}, {100}];ListDensityPlot[data, Mesh -> All]ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}], Mesh -> 5]
方向に3本のメッシュラインを,
向に6本のメッシュラインを使う:
ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}], Mesh -> {3, 6}]data = Flatten[Table[{i, j, Sin[i ^ 2 + j]}, {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}], 1];ListDensityPlot[data, Mesh -> {{1, 2}, {Pi / 2}}]data = Flatten[Table[{i, j, Sin[i ^ 2 + j]}, {i, -2, 2, 0.1}, {j, -2, 2, 0.1}], 1];ListDensityPlot[data, Mesh -> {{{0, Thick}}, {{0, Red}}}]MeshFunctions (3)
値をメッシュ関数として使い,連続的に彩色した等高線プロットを与える:
ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}], MeshFunctions -> {#3&}, Mesh -> 5]ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}], MeshFunctions -> {#1&, #2&}, Mesh -> {5, 5}]data = Flatten[Table[{x, y, Abs[ArcTan[x + I y]]}, {x, -2, 2, 0.1}, {y, -2, 2, 0.1}], 1];ListDensityPlot[data, Mesh -> 8, MeshFunctions -> {Function[{x, y, z}, Re[ArcTan[x + I y]]], Function[{x, y, z}, Im[ArcTan[x + I y]]]}, MeshStyle -> {Lighter[Red], Lighter[Green]}]MeshStyle (3)
ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}], Mesh -> 5]ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}], MeshStyle -> Directive[Opacity[0.5], Red], Mesh -> 5]
方向に赤いメッシュラインを,
方向に破線のメッシュラインを使う:
ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}], MeshStyle -> {Directive[Opacity[0.5], Red], Dashed}, Mesh -> 5]PerformanceGoal (2)
data = Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.02}, {j, 0, Pi, 0.02}];Timing[ListDensityPlot[data, PerformanceGoal -> "Quality", DataRange -> {{0, Pi}, {0, Pi}}, RegionFunction -> Function[{x, y, z}, Norm[{x, y}] < Pi]]]data = Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.02}, {j, 0, Pi, 0.02}];Timing[ListDensityPlot[data, PerformanceGoal -> "Speed", DataRange -> {{0, Pi}, {0, Pi}}, RegionFunction -> Function[{x, y, z}, Norm[{x, y}] < Pi]]]PlotFit (4)
ListDensityPlot[IconizedObject[«data»]]ListDensityPlot[IconizedObject[«data»], PlotFit -> Automatic]ListDensityPlot[IconizedObject[«data»], PlotFit -> "Quadratic"]KernelModelFitを使ってデータを近似する:
ListDensityPlot[IconizedObject[«data»], PlotFit -> "Kernel"]PlotLayout (3)
ListDensityPlot[{IconizedObject[«sin(x) cos(y)»], IconizedObject[«sin(2 x) cos(2 y)»], IconizedObject[«sin(3 x) cos(3 y)»]}, ImageSize -> Medium, PlotLayout -> "Column"]ListDensityPlot[{IconizedObject[«sin(x) cos(y)»], IconizedObject[«sin(2 x) cos(2 y)»], IconizedObject[«sin(3 x) cos(3 y)»]}, ImageSize -> Medium, PlotLayout -> "Row"]ListDensityPlot[{IconizedObject[«sin(x) cos(y)»], IconizedObject[«sin(2 x) cos(2 y)»], IconizedObject[«sin(3 x) cos(3 y)»]}, ImageSize -> Medium, PlotLayout -> {"Column", 2}]ListDensityPlot[{IconizedObject[«sin(x) cos(y)»], IconizedObject[«sin(2 x) cos(2 y)»], IconizedObject[«sin(3 x) cos(3 y)»], IconizedObject[«sin(x) cos(4 y)»], IconizedObject[«sin(2 x) cos(5 y)»], IconizedObject[«sin(3 x) cos(y)»]}, ImageSize -> Medium, PlotLayout -> {"Column", UpTo[4]}]ListDensityPlot[{IconizedObject[«sin(x) cos(y)»], IconizedObject[«sin(2 x) cos(2 y)»], IconizedObject[«sin(3 x) cos(3 y)»], IconizedObject[«sin(x) cos(4 y)»], IconizedObject[«sin(2 x) cos(5 y)»], IconizedObject[«sin(3 x) cos(y)»]}, ImageSize -> Medium, PlotLayout -> {"Column", 4}]PlotLegends (5)
ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.02}, {j, 0, Pi, 0.02}]]ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.02}, {j, 0, Pi, 0.02}], PlotLegends -> Automatic]ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.02}, {j, 0, Pi, 0.02}],
ColorFunction -> "Rainbow", PlotLegends -> Automatic]Placedを使って凡例の置き方を変える:
ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.02}, {j, 0, Pi, 0.02}], PlotLegends -> Placed[Automatic, Below]]BarLegendを使って凡例をカスタマイズする:
ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.02}, {j, 0, Pi, 0.02}], PlotLegends -> Placed[BarLegend[Automatic, LegendMargins -> {{0, 0}, {10, 5}}, LegendLabel -> "z-value", LabelStyle -> {Italic, FontFamily -> "Helvetica"}], Above]]PlotRange (2)
PlotTheme (2)
ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.02}, {j, 0, Pi, 0.02}], PlotTheme -> "Business"]ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.02}, {j, 0, Pi, 0.02}], PlotTheme -> "Business", ColorFunction -> "AvocadoColors"]RegionFunction (4)
ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}], RegionFunction -> Function[{x, y, z}, Abs[z] > 0.5], BoundaryStyle -> Red]範囲はDataRangeに依存する:
data = Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}];ListDensityPlot[data, RegionFunction -> Function[{x, y, z}, Norm[{x, y}] < 3], BoundaryStyle -> Red]ListDensityPlot[data, RegionFunction -> Function[{x, y, z}, Norm[{x, y}] < 3], DataRange -> {{0, Pi}, {0, Pi}}, BoundaryStyle -> Red]ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}], RegionFunction -> Function[{x, y, z}, 0 < Mod[x ^ 2 + y ^ 2, 2] < 1], DataRange -> {{0, Pi}, {0, Pi}}, BoundaryStyle -> Red]ListDensityPlot[Table[Sin[x + y ^ 2], {x, -2, 2, 0.1}, {y, -2, 2, 0.1}], RegionFunction -> Function[{x, y, z}, (x - 1 / 2) ^ 2 + y ^ 2 > 1 && (x + 1 / 2) ^ 2 + y ^ 2 > 1], BoundaryStyle -> Red, DataRange -> {{-2, 2}, {-2, 2}}]ScalingFunctions (9)
ListDensityPlot[Table[Max[x, y], {x, 0, 10, .1}, {y, 0, 10, .1}]]ListDensityPlot[Table[Max[x, y], {x, 0, 10, .1}, {y, 0, 10, .1}], ScalingFunctions -> {None, "Log"}]ListDensityPlot[Table[Max[x, y], {x, 0, 10, .1}, {y, 0, 10, .1}], ScalingFunctions -> {None, "Reverse"}]ListDensityPlot[Table[Max[x, y], {x, 0, 10, .1}, {y, 0, 10, .1}], ScalingFunctions -> {None, "Reciprocal"}, PlotRangePadding -> None]ListDensityPlot[Table[Max[x, y], {x, 0, 10, .1}, {y, 0, 10, .1}], ScalingFunctions -> {"Reverse", "Log"}]ListDensityPlot[Table[Max[x, y], {x, 0, 10, .1}, {y, 0, 10, .1}], ScalingFunctions -> {"Reverse", None}]ListDensityPlot[Table[Max[x, y], {x, 0, 10, .1}, {y, 0, 10, .1}], ScalingFunctions -> {None, {-Log[#]&, Exp[-#]&}}]TicksとGridLinesの中の位置は自動的にスケールされる:
ListDensityPlot[Table[Max[x, y], {x, 0, 100, 1}, {y, 0, 100, 1}], ScalingFunctions -> {"Log", None}, FrameTicks -> {{Automatic, Automatic}, {2 ^ Range[10], Automatic}}, GridLines -> All]PlotRangeは自動的にスケールされる:
ListDensityPlot[Table[x ^ 2 + y ^ 2, {x, 0, 10.1}, {y, 0, 10, .1}], ScalingFunctions -> {None, "Log"}, PlotRange -> {Automatic, {1, 5}}]VertexColors (2)
ListDensityPlotは,通常色関数を使って密度に色付けする:
data = Flatten[Table[{x, y, Sin[x y]}, {x, 0, 3, 0.1}, {y, 0, 3, 0.1}], 1];ListDensityPlot[data]data = Flatten[Table[{x, y, Sin[x y]}, {x, 0, 3, 0.1}, {y, 0, 3, 0.1}], 1];colors = Table[RandomReal[], {31 31}];ListDensityPlot[data, VertexColors -> {colors}]アプリケーション (3)
f = PDF[LogNormalDistribution[0, 1], x]PDF[LogNormalDistribution[0, 1], y]ListDensityPlot[Table[f, {x, 0, 3, .1}, {y, 0, 3, .1}], DataRange -> {{0, 3}, {0, 3}}]//Quietdata = BinCounts[Select[RandomReal[LogNormalDistribution[0, 1], {10 ^ 5, 2}], 0 ≤ #[[1]] ≤ 3 && 0 ≤ #[[2]] ≤ 3&], 0.1, 0.1];ListDensityPlot[data, DataRange -> {{0, 3}, {0, 3}}]data = MapIndexed[Flatten[{##}]&, RandomReal[1, {100, 2}]];ListDensityPlot[data, InterpolationOrder -> 0, ColorFunction -> Hue, Mesh -> All]data = Import["ExampleData/ozonemap.hdf", {"Datasets", "TOTAL_OZONE"}];ListDensityPlot[Reverse@data, ColorFunction -> "DeepSeaColors", AspectRatio -> Automatic, DataRange -> {{-180, 180}, {-90, 90}}]CountryDataを使って国の輪郭を加える:
outlines = Table[DeleteCases[CountryData[r, "SchematicPolygon"], Polygon[_Missing]], {r, {"SouthAmerica", "NorthAmerica", "Africa", "Europe", "Asia", "Australia"}}];ListDensityPlot[Reverse@data, ColorFunction -> "DeepSeaColors", AspectRatio -> Automatic, DataRange -> {{-180, 180}, {-90, 90}}, Epilog -> {FaceForm[], EdgeForm[Opacity[0.5]], outlines}, PlotRange -> {{-180, 180}, {-90, 90}}]特性と関係 (16)
ListDensityPlotは上から見たListPlot3Dに似ている:
data = Table[Sin[u + v ^ 2], {u, 0, 3, .05}, {v, 0, 3, .05}];{ListPlot3D[data, ColorFunction -> "LakeColors", Mesh -> None, ViewPoint -> {0, 0, Infinity}], ListDensityPlot[data]}ListDensityPlotとListPlot3Dは
を
と
の関数として見る:
data1 = Flatten[Table[{Cos[ϕ] Sin[θ], Sin[ϕ] Sin[θ], -Cos[θ]}, {ϕ, 0., 2Pi, 0.4}, {θ, 0., Pi, 0.4}], 1];{ListDensityPlot[data1], ListPlot3D[data1, Mesh -> None, BoxRatios -> Automatic]}data2 = Flatten[Table[{Cos[ϕ] Sin[θ], Sin[ϕ] Sin[θ], Cos[θ]}, {ϕ, 0., 2Pi, (2Pi) / 25}, {θ, 0., Pi, Pi / 25}], 1];{ListDensityPlot[data2], ListPlot3D[data2, Mesh -> None, BoxRatios -> Automatic]}ListDensityPlot3Dを使って3Dデータをプロットする:
data = Table[x y z, {z, -1, 1, 2 / 40.}, {y, -1, 1, 2 / 40.}, {x, -1, 1, 2 / 40.}];ListDensityPlot3D[data]ListDensityPlotは色を多角形の頂点と関連付ける:
{ListDensityPlot[{{1, 2}, {3, 4}}, ColorFunction -> (Switch[Round[#], 1, Red, 2, Green, 3, Blue, 4, Yellow]&), ColorFunctionScaling -> False, Mesh -> None], Graphics[Polygon[{{1, 1}, {2, 1}, {2, 2}, {1, 2}}, VertexColors -> {Red, Green, Yellow, Blue}], Frame -> True]}Raster,ArrayPlot,MatrixPlot,ReliefPlotは色を多項式全体と関連付ける:
{ArrayPlot[{{1, 2}, {3, 4}}, ColorRules -> {1 -> Red, 2 -> Green, 3 -> Blue, 4 -> Yellow}], Graphics[Raster[Apply[List, {{Blue, Yellow}, {Red, Green}}, {2}]]]}ArrayPlotを離散データの配列に使う:
ArrayPlot[CellularAutomaton[30, {{1}, 0}, 50]]MatrixPlotを行列の構造プロットに使う:
MatrixPlot[Import[ "ExampleData/bcsstk08.mtx.gz"]]ReliefPlotを医学および地理上の値に対応する行列に使う:
ReliefPlot[Import["http://exampledata.wolfram.com/hailey.dem.gz", "Data"], ColorFunction -> "GreenBrownTerrain", MaxPlotPoints -> 200]DensityPlotを関数に使う:
{DensityPlot[Sin[x y], {x, 0, 3}, {y, 0, 3}], ListDensityPlot[Table[Sin[x y], {y, 0, 3, 0.1}, {x, 0, 3, 0.1}], DataRange -> {{0, 3}, {0, 3}}]}GeoDensityPlotで色を使って地図に滑らかな陰影を付ける:
GeoDensityPlot[IconizedObject[«locs»] -> IconizedObject[«vals»]]ListPointPlot3Dを使って三次元の点を示す:
ListPointPlot3D[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}]]ListDensityPlotは滑らかな色のバリエーションを生成する:
ListDensityPlot[Table[Boole[x + y > 10], {x, 10}, {y, 10}]]ListContourPlotを使って分割された色を得る:
ListContourPlot[Table[Boole[x + y > 10], {x, 10}, {y, 10}], Contours -> 1]ListPlot3Dを使って連続データから曲面を作成する:
ListPlot3D[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}]]ListLogPlot,ListLogLogPlot,ListLogLinearPlotを対数プロットに使う:
ListLogPlot[Table[Fibonacci[k], {k, 0, 15}], Joined -> True]ListPolarPlotを極プロットに使う:
ListPolarPlot[Table[{x, Sqrt[x]}, {x, 0, 2Pi, 0.1}]]DateListPlotを使って時間に沿ってデータを示す:
DateListPlot[{5, 11, 13, 24, 28, 31, 34, 39, 42, 47, 51, 66}, {2006, 1}, PlotStyle -> PointSize[Medium], Joined -> False]ParametricPlot3Dを三次元パラメトリック曲線と曲面に使う:
{ParametricPlot3D[{Cos[θ], Sin[θ], Sqrt[θ]}, {θ, 0, 6Pi}], ParametricPlot3D[{r ^ 2 Cos[θ], r ^ 2 Sin[θ], r Sqrt[θ]}, {r, 0, 1}, {θ, 0, 6Pi}]}考えられる問題 (2)
ListDensityPlot[Table[Sin[x + y ^ 2], {x, 0, 3, 0.1}, {y, 0, 3, 0.1}]]ListDensityPlot[Table[Sin[x + y ^ 2], {y, 0, 3, 0.1}, {x, 0, 3, 0.1}]]
×3行列はデフォルトで3つ一組になったもののリストと解釈される:
data = IdentityMatrix[3]ListDensityPlot[data, DataRange -> Automatic, Mesh -> All]DataRange->Allを使い,
の値の行列として解釈することを強制する:
ListDensityPlot[data, DataRange -> All, Mesh -> All]あるいは,データ範囲の明示的なリストを与えて
値の行列としての解釈を強制する:
ListDensityPlot[data, DataRange -> {{0, 1}, {0, 1}}, Mesh -> All]テクニカルノート
関連するガイド
-
▪
- データの可視化 ▪
- 表形式の可視化 ▪
- 科学的データ解析 ▪
- データの配列の操作 ▪
- GPU計算 ▪
- 日付と時刻の可視化 ▪
- NVIDIAを使ったGPU計算 ▪
- Appleを使ったGPU計算
履歴
1988 で導入 (1.0) | 2007 で更新 (6.0) ▪ 2008 (7.0) ▪ 2012 (9.0) ▪ 2014 (10.0) ▪ 2016 (11.0) ▪ 2017 (11.1) ▪ 2021 (13.0) ▪ 2025 (14.2) ▪ 2025 (14.3)
テキスト
Wolfram Research (1988), ListDensityPlot, Wolfram言語関数, https://reference.wolfram.com/language/ref/ListDensityPlot.html (2025年に更新).
CMS
Wolfram Language. 1988. "ListDensityPlot." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/ListDensityPlot.html.
APA
Wolfram Language. (1988). ListDensityPlot. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ListDensityPlot.html
BibTeX
@misc{reference.wolfram_2026_listdensityplot, author="Wolfram Research", title="{ListDensityPlot}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/ListDensityPlot.html}", note=[Accessed: 06-December-2026]}
BibLaTeX
@online{reference.wolfram_2026_listdensityplot, organization={Wolfram Research}, title={ListDensityPlot}, year={2025}, url={https://reference.wolfram.com/language/ref/ListDensityPlot.html}, note=[Accessed: 06-December-2026]}