LogLogPlot[f,{x,xmin,xmax}]
f の両対数プロットを x の関数として xminから xmaxまで生成する.
LogLogPlot[{f1,f2,…},{x,xmin,xmax}]
複数の関数 fiをプロットする.
LogLogPlot[{…,w[fi],…},…]
fiを記号ラッパー w で定義された特徴でプロットする.
LogLogPlot[…,{x}∈reg]
変数 x が幾何学領域 reg であるとする.
LogLogPlot
LogLogPlot[f,{x,xmin,xmax}]
f の両対数プロットを x の関数として xminから xmaxまで生成する.
LogLogPlot[{f1,f2,…},{x,xmin,xmax}]
複数の関数 fiをプロットする.
LogLogPlot[{…,w[fi],…},…]
fiを記号ラッパー w で定義された特徴でプロットする.
LogLogPlot[…,{x}∈reg]
変数 x が幾何学領域 reg であるとする.
詳細とオプション
- LogLogPlotは,指数法則関数が直線として見えるようにする.非常に大きい領域上の非常に大きいまたは小さい値の変化を見ることができる.
- LogLogPlotは,実質的にLog[f]がLog[x]に対してプロットされる曲線を生成する.目盛はもとの f および x の値を示す.これは,集合
を可視化する. - fiが正の実数またはQuantity以外に評価される任意の x についてギャップが残される.
- 極限 xminおよび xmaxは実数あるいはQuantity式でよい.
- 領域 reg は1Dの任意のRegionQオブジェクトでよい.
- LogLogPlotは,事実上Blockを使って,変数 x を局所的なものとして扱う.
- LogLogPlotには属性HoldAllがあり,x に特定の数値を割り当てた後でしか f を評価しない.
- 場合によっては,x に特定の数値が割り当てられる前にEvaluateを使って f を記号的に評価した方が効率がよいかもしれない.
- fiには次のラッパー w を使うことができる.
-
Annotation[fi,label] fiの注釈を与える Button[fi,action] fiの曲線がクリックされたときに action を評価する Callout[fi,label] コールアウトで関数にラベルを付ける Callout[fi,label,pos] コールアウトを相対的な位置 pos に置く EventHandler[fi,events] fiの一般的なイベントハンドラを定義する Highlighted[fi,effect] 効果を付けて fiを動的にハイライトする Highlighted[fi,Placed[effect,pos]] 位置 pos で効果を付けて fiを静的にハイライトする Hyperlink[fi,uri] 関数をハイパーリンクにする Labeled[fi,label] 関数にラベル付ける Labeled[fi,label,pos] ラベルを相対的な位置 pos に置く Legended[fi,label] 凡例中で関数を特定する PopupWindow[fi,cont] 関数にポップアップウィンドウを付ける StatusArea[fi,label] マウスオーバーの際にステータスエリアに表示する Style[fi,styles] 指定のスタイルで関数を表示する Tooltip[fi,label] 関数にツールチップを付ける Tooltip[fi] 関数をツールチップとして使う - ラッパー w は複数のレベルに適用することができる.
-
w[fi] fiを囲む w[{f1,…}] fiの集合を囲む w1[w2[…]] ネストしたラッパーを使う - Callout,Labeled,Placedは,次の位置 pos を使うことができる.
-
Automatic ラベルを自動的に置く Above, Below, Before, After 曲線周囲の位置 x 点 x の曲線付近 Scaled[s] 曲線に沿ってスケールされた位置 s {s,Above},{s,Below},… 曲線に沿った位置 s と相対的な位置 {pos,epos} 曲線の相対的な位置 pos に置かれたラベル内の epos - LogLogPlotには,Graphicsと同じオプションに以下の追加・変更を加えたものが使える [全オプションのリスト]
- ClippingStyleの可能な設定
-

Automatic 切り取られた部分に点線を使う 
None 曲線の切り取られた部分を省略する 
style 切り取られた部分に style を使う - 次は,複数のプロットパネルで単一の曲線を表示するPlotLayoutの可能な設定である.
-
"Column" パネルの列に別々の曲線を使う "Row" パネルの行に別々の曲線を使う {"Column",k},{"Row",k} k 列(または行)を使う {"Column",UpTo[k]},{"Row",UpTo[k]} 最高で k 列(または行)を使う - デフォルト設定のExclusions->AutomaticとExclusionsStyle->Noneでは,LogLogPlotが不連続性や特異点を検知したところで曲線が途切れる.Exclusions->Noneとすると,不連続性や特異点があっても曲線は繋がれる.
- Exclusions->{x1,x2,…}はExclusions->{x==x1,x==x2,…}に等しい.
- PlotLegendsの典型的な設定には次が含まれる.
-
None 凡例なし Automatic 凡例を自動的に決定する "Expressions" f1, f2, … を凡例ラベルとして用いる {lbl1,lbl2,…} lbl1, lbl2, … を凡例ラベルとして用いる Placed[lspec,…] 凡例の配置を指定する - PlotStylesty は,各曲線に使用するスタイルを指定する.可能な設定には以下がある.
-
{sty1,sty2,…} データ集合に対するスタイルの並び <|"key"val,…|> データの異なるレベルに対するスタイル要素 - 使用可能なキーは次の通りである.
-
"Base" すべての fi に対する全体的なスタイル "Functions" fi ごとのスタイル styi のリスト - ColorData["DefaultPlotColors"]は,PlotStyleで使われるデフォルトの色のシーケンスを与える.
- 次は,HighlightedとPlotHighlightingの使用可能なハイライト効果である.
-

style 指定された曲線をハイライトする 
"Ball" 曲線上の指定された点をハイライトしてラベルを付ける 
"Dropline" 曲線上の指定された点を軸までのドロップラインでハイライトしてラベルを付ける 
"XSlice" 垂直スライスに沿ったすべての点をハイライトしてラベルを付ける 
"YSlice" 水平スライスに沿ったすべての点をハイライトしてラベルを付ける 
Placed[effect,pos] 指定の位置 pos を静的にハイライトする - 位置指定 pos のハイライトには以下がある.
-
x, {x} {x,y}における効果.y は自動的に選択される {x,y} {x,y}における効果 {pos1,pos2,…} 複数の位置 posi - LogLogPlotは,まず,f をPlotPointsで指定された等間隔のサンプル点の数で評価する.次に,適応的アルゴリズムを使用し,指定の区間を最大MaxRecursion回まで部分分割して追加のサンプル点を選択する.
- 有限個のサンプル点しか使用されないので,LogLogPlotが f の特徴を見逃す可能性がある.PlotPointsやMaxRecursionの設定値を上げると見逃された特徴が捉えられることが多い.
- 曲線に影響するテーマ
-

"ThinLines" 細いプロット線 
"MediumLines" 中くらいのプロット線 
"ThickLines" 太いプロット線 - MeshFunctionsとRegionFunction内の関数に渡される引数は x と y である.ColorFunction内の関数には,デフォルトで,これらの引数のスケールされたものが渡される.
- 次は,ScalingFunctionsの可能な設定である.
-
sy y 軸をスケールする {sx,sy} x 軸と y 軸をスケールする - 次は,よく使われる組込みのスケーリング関数 s である.
-
"Log" 
自動目盛ラベルが付いた対数スケール "Log10" 
10のベキ乗に目盛が置かれる10を底とした対数スケール "SignedLog" 
0と負の数を含む対数のようなスケール "Reverse" 
座標の方向を逆にする "Infinite" 
無限スケール - スケーリング関数がどちらかの方向に指定されている場合,この関数は通常の対数スケーリングの後に適用される.
全オプションのリスト
例題
すべて開く すべて閉じる例 (4)
LogLogPlot[x ^ 2 + x ^ 3, {x, 1, 100}]LogLogPlot[{x ^ 2, x ^ 3, x ^ 4, x ^ 5}, {x, 1, 10 ^ 4}, PlotLegends -> "Expressions"]LogLogPlot[{Log[x] ^ x, x ^ x}, {x, 0.1, 10}, PlotLabels -> "Expressions"]LogLogPlot[{10 / (x ^ 2 - 6x + 10), 100 / (x ^ 2 + 100)}, {x, 0.1, 1000}, Filling -> {1 -> {2}}]スコープ (30)
サンプリング (7)
関数が急速に変化するところではより多くの点がサンプルとして取られる:
LogLogPlot[Sum[i / (x ^ 2 - 2 i 0.99 x + i ^ 2), {i, {1, 10, 100}}], {x, 0.1, 1000}]LogLogPlot[Abs[1 / (x - 5)], {x, 1, 10}]LogLogPlot[1 / ((x - 3)(x - 5)), {x, 1, 10}]LogLogPlot[Floor[Sqrt[x]], {x, 1, 100}]PlotPointsとMaxRecursionを使って適応的サンプリングを制御する:
Grid@Table[LogLogPlot[Sum[i / (x ^ 2 - 2 i 0.99 x + i ^ 2), {i, {1, 10, 100}}], {x, 0.1, 1000}, PlotPoints -> pp, MaxRecursion -> mr], {mr, {0, 1, 2}}, {pp, {5, 10}}]PlotRangeを使って関心領域に焦点を当てる:
{LogLogPlot[10 / (x ^ 2 - 5x + 10), {x, 1, 100}], LogLogPlot[10 / (x ^ 2 - 5x + 10), {x, 1, 100}, PlotRange -> {1, 3}]}Exclusionsを使って点を除くか,結果の曲線を分断するかする:
LogLogPlot[Exp[Tan[x]], {x, 1, 10}, Exclusions -> {Cos[x] == 0}]ラベルと凡例 (11)
Labeledで曲線にラベルを付ける:
LogLogPlot[Evaluate@Table[Labeled[Log[n x] ^ x, Log[n x] ^ x], {n, 1, 3}], {x, 0.5, 3}]Table[LogLogPlot[Labeled[x ^ Sin[x], "label", p], {x, 1, 6}, PlotLabel -> p], {p, {Above, Below, Before, After}}]PlotLabelsで曲線にラベルを付ける:
LogLogPlot[{Log[x] ^ x, x ^ x}, {x, 1, 10}, PlotLabels -> {Log[x] ^ x, x ^ x}]LogLogPlot[Labeled[x ^ Sin[x], "label", Log[6]], {x, 2, 10}]LogLogPlot[Labeled[x ^ Sin[x], "label", Scaled[0.1]], {x, 2, 10}]LogLogPlot[Labeled[x ^ Sin[x], "label", {Scaled[0.1], Below}], {x, 2, 10}]Calloutで曲線に自動的にラベルを付ける:
LogLogPlot[{Callout[x ^ Sin[x], x ^ Sin[x]], Callout[x, x]}, {x, 1, 20}]LogLogPlot[Callout[x ^ (Sin[x]), "max", Above], {x, 1, 5}]LogLogPlot[{Callout[x, x, {5, Above}], Callout[x ^ (Sin[x]), x ^ x, {4, Below}]}, {x, 1, 18}]LogLogPlot[{x ^ Sin[x], x ^ Cos[x]}, {x, 1, 2π}, PlotLegends -> {x ^ Sin[x], x ^ Cos[x]}]Legendedを使って特定の曲線の凡例を与える:
LogLogPlot[{x ^ Sin[x], Legended[Mean[{x ^ Sin[x], x ^ Cos[x]}], "average"], x ^ Cos[x]}, {x, 1, 2π}]Placedを使って凡例の位置を変える:
LogLogPlot[{x ^ Sin[x], Legended[Mean[{x ^ Sin[x], x ^ Cos[x]}], Placed["average", Below]], x ^ Cos[x]}, {x, 1, 2π}]曲線には,通常,マウスオーバーの際の座標を示すインタラクティブなコールアウトが付いている:
LogLogPlot[{2^x, Gamma[x]}, {x, 0.1, 4.5}]特定のラッパーやツールチップのようなインタラクションを含むことでインタラクティブな機能がオフにできる:
LogLogPlot[Callout[2^x, "hello", 2], {x, 0.1, 4.5}]{LogLogPlot[{2^x, Gamma[x]}, {x, 0.01, 4.5}, PlotHighlighting -> "Dropline"], LogLogPlot[{2^x, Gamma[x]}, {x, 0.01, 4.5}, PlotHighlighting -> "XSlice"]}Highlightedを使ってプロット中の特定の点を強調する:
LogLogPlot[Highlighted[2^x, Placed["Ball", 1]], {x, 0.01, 4.5}, PlotHighlighting -> "Dropline"]プレゼンテーション (12)
LogLogPlot[{Log[x], x, x ^ 2, E ^ x}, {x, 1, 100}]LogLogPlot[{Log[x], x, x ^ 2, E ^ x}, {x, 1, 100}, PlotStyle -> {AbsoluteThickness[3], Automatic, Red, Dashed}]LogLogPlot[1 / Abs[x - 10], {x, 1, 1000}, AxesLabel -> Automatic, PlotLabel -> 1 / Abs[x - 10]]LogLogPlot[{10 / (x ^ 2 - 6x + 10), 100 / (x ^ 2 + 100)}, {x, 0.1, 1000}, PlotLegends -> "Expressions"]LogLogPlot[{10 / (x ^ 2 - 6x + 10), 100 / (x ^ 2 + 100)}, {x, 0.1, 1000}, PlotLegends -> {"one", "two"}]インタラクティブなTooltipを各曲線に付ける:
LogLogPlot[{Tooltip[Log[x]], Tooltip[1 / x]}, {x, 1, 100}]LogLogPlot[{x, 1 / x}, {x, 0.01, 100}, Filling -> 1]LogLogPlot[{10 / (x ^ 2 - 6x + 10), 100 / (x ^ 2 + 100)}, {x, 0.1, 1000}, PlotTheme -> "Detailed"]LogLogPlot[{10 / (x ^ 2 - 6x + 10), 100 / (x ^ 2 + 100)}, {x, 0.1, 1000}, PlotTheme -> "Marketing"]LogLogPlot[1 / Abs[x - 10], {x, 1, 1000}, Mesh -> 20, MeshFunctions -> {Log[#1]&}]LogLogPlot[1 / Abs[x - 10], {x, 1, 1000}, Mesh -> 15, MeshFunctions -> {Log[#1]&}, MeshShading -> {Red, None, Blue}]LogLogPlot[{1 / Abs[x - 10], 1 / Abs[x - 10] + 1 / Abs[x - 50]}, {x, 1, 1000}, PlotLayout -> "Row"]LogLogPlot[{1 / Abs[x - 10], 1 / Abs[x - 10] + 1 / Abs[x - 50]}, {x, 1, 1000}, PlotLayout -> "Column"]LogLogPlot[{1 / Abs[x - 10], 1 / Abs[x - 10] + 1 / Abs[x - 50], 1 / Abs[x ^ 2 - 1000], 1 / Abs[x ^ 2 - 15x + 30]}, {x, 1, 1000}, PlotLayout -> {"Row", 2}]ScalingFunctionsを使って y 軸を逆にする:
LogLogPlot[x^x, {x, 0, 10}, ScalingFunctions -> "Reverse", PlotRange -> All]LogLogPlot[x^x, {x, 0, 10}, ScalingFunctions -> {"Reverse", "Reverse"}]オプション (96)
ClippingStyle (5)
LogLogPlot[Exp[Sin[(x - 2)] / (x - 2) ^ 2], {x, 1, 5}, ClippingStyle -> None, PlotRange -> {1*^-1, 1*^1}, AxesOrigin -> {2, 1}]LogLogPlot[Exp[Sin[(x - 2)] / (x - 2) ^ 2], {x, 1, 5}, ClippingStyle -> Automatic, PlotRange -> {1*^-1, 1*^1}, AxesOrigin -> {2, 1}]LogLogPlot[Exp[Sin[(x - 2)] / (x - 2) ^ 2], {x, 1, 5}, ClippingStyle -> Red, PlotRange -> {1*^-1, 1*^1}, AxesOrigin -> {2, 1}]LogLogPlot[Exp[Sin[(x - 2)] / (x - 2) ^ 2], {x, 1, 5}, ClippingStyle -> {Red, Thick}, PlotRange -> {1*^-1, 1*^1}, AxesOrigin -> {2, 1}]LogLogPlot[Exp[Sin[(x - 2)] / (x - 2) ^ 2], {x, 1, 5}, ClippingStyle -> Directive[Thick, Red], PlotRange -> {1*^-1, 1*^1}, AxesOrigin -> {2, 1}]ColorFunction (5)
Table[LogLogPlot[10 / (x ^ 2 - 6x + 10), {x, 1, 100}, ColorFunction -> Function[{x, y}, Evaluate[f]], PlotLabel -> f], {f, {Hue[x], Hue[y]}}]LogLogPlot[10 / (x ^ 2 - 6x + 10), {x, 1, 100}, ColorFunction -> Function[{x, y}, If[y > 1, Red, StandardGray]], ColorFunctionScaling -> False, PlotStyle -> Thick]LogLogPlot[10 / (x ^ 2 - 6x + 10), {x, 1, 100}, ColorFunction -> Function[{x, y}, Hue[y]], Filling -> Axis]ColorFunctionは,曲線の彩色に関しては,PlotStyleより優先順位が高い:
LogLogPlot[10 / (x ^ 2 - 6x + 10), {x, 1, 100}, ColorFunction -> "DarkRainbow", PlotStyle -> Directive[Red, AbsoluteThickness[5]]]LogLogPlot[10 / (x ^ 2 - 6x + 10), {x, 1, 100}, ColorFunction -> Function[{x, y}, Hue[Log[10, y]]], PlotStyle -> Thick, ColorFunctionScaling -> False]ColorFunctionScaling (3)
Table[LogLogPlot[10 / (x ^ 2 - 6x + 10), {x, 1, 100}, PlotStyle -> Thick, ColorFunction -> Function[{x, y}, Hue[y]], ColorFunctionScaling -> cf], {cf, {False, True}}]Table[LogLogPlot[t, {t, 0.1, 2 ^ i}, PlotStyle -> Thick, ColorFunction -> Function[{x, y}, Hue[y]]], {i, {0, 10, 20}}]LogLogPlot[10 / (x ^ 2 - 6x + 10), {x, 1, 100}, ColorFunction -> Function[{x, y}, Hue[Log[10, y]]], PlotStyle -> Thick, ColorFunctionScaling -> False]EvaluationMonitor (3)
LogLogPlotでサンプルされた値のリストを求める:
Reap[LogLogPlot[10 / (x ^ 2 - 6x + 10), {x, 1, 100}, EvaluationMonitor :> Sow[x]];]//ShortLogLogPlotが関数を評価している部分を示す:
data = Reap[ LogLogPlot[10 / (x ^ 2 - 6x + 10), {x, 1, 100}, EvaluationMonitor :> Sow[{x, 10 / (x ^ 2 - 6x + 10)}]] ][[-1, 1]];ListLogLogPlot[data , Filling -> Axis]Block[{k = 0}, LogLogPlot[10 / (x ^ 2 - 6x + 10), {x, 1, 100}, EvaluationMonitor :> k++];k]Exclusions (2)
ExclusionsStyle (2)
Filling (7)
Table[LogLogPlot[10 / (x ^ 2 - 6x + 10), {x, 1, 100}, Filling -> f], {f, {Axis, Top, Bottom, 1}}]LogLogPlot[{(x - 5) ^ 2 / x, x / (x - 5) ^ 2}, {x, 1, 25}, Filling -> Axis]LogLogPlot[{(x - 5) ^ 2 / x, x / (x - 5) ^ 2}, {x, 1, 25}, Filling -> {1 -> Axis}]LogLogPlot[{(x - 5) ^ 2 / x, x / (x - 5) ^ 2}, {x, 1, 25}, Filling -> {1 -> {2}}]LogLogPlot[{(x - 5) ^ 2 / x, x / (x - 5) ^ 2}, {x, 1, 25}, Filling -> {1 -> {{2}, Yellow}}]曲線1と曲線2の間を1が2の下の部分は黄色で,1が2の上の部分は緑色で塗り潰す:
LogLogPlot[{(x - 5) ^ 2 / x, x / (x - 5) ^ 2}, {x, 1, 25}, Filling -> {1 -> {{2}, {Yellow, Green}}}]LogLogPlot[{(x - 5) ^ 2 / x, x / (x - 5) ^ 2}, {x, 1, 25}, Filling -> {1 -> {1, Yellow}}]FillingStyle (4)
Table[LogLogPlot[Abs[Tan[x]], {x, 1, 10}, Filling -> Bottom, FillingStyle -> c], {c, {Red, Green, Blue, Yellow}}]LogLogPlot[10 / (x ^ 2 - 6x + 10), {x, 0.1, 1000}, Filling -> Bottom, FillingStyle -> Directive[Opacity[0.5], Yellow]]LogLogPlot[10 / (x ^ 2 - 6x + 10), {x, 0.1, 1000}, Filling -> 1., FillingStyle -> {Red, Blue}]ColorFunctionから得た変化する塗潰しスタイルを使う:
LogLogPlot[10 / (x ^ 2 - 6x + 10), {x, 0.1, 1000}, ColorFunction -> Function[{x, y}, Hue[y]], Filling -> Bottom, FillingStyle -> Automatic]LogLogPlot[10 / (x ^ 2 - 6x + 10), {x, 0.1, 1000}, ColorFunction -> Function[{x, y}, Hue[x]], Filling -> Bottom, FillingStyle -> Automatic]LabelingSize (4)
LogLogPlot[{Log[x], x}, {x, 1, 10}, PlotLabels -> {"barcarole", "perilously"}]LogLogPlot[{Log[x], x}, {x, 1, 10}, PlotLabels -> {[image], [image]}]LogLogPlot[{Log[x], x}, {x, 1, 10}, PlotLabels -> {"barcarole", "perilously"}, LabelingSize -> 30]LogLogPlot[{Log[x], x}, {x, 1, 10}, PlotLabels -> {[image], [image]}, LabelingSize -> 50]LogLogPlot[{Log[x], x}, {x, 1, 10}, PlotLabels -> {[image], [image]}, LabelingSize -> Full]MaxRecursion (2)
LogLogPlot[10 / (x ^ 2 - 6x + 10), {x, 0.1, 1000}, Mesh -> All]MaxRecursionの各レベルでもとのメッシュをさらに細かいメッシュに再分割する:
Table[LogLogPlot[1 / Abs[(x ^ 2 - 10x + 10)], {x, 0.5, 25}, MaxRecursion -> i, Mesh -> All, Ticks -> None], {i, {0, 3, 6}}]Mesh (3)
Table[LogLogPlot[Sum[i / (x ^ 2 - 2 i 0.99 x + i ^ 2), {i, {1, 10, 100}}], {x, 0.1, 1000}, Mesh -> m, MeshStyle -> Red], {m, {Full, All}}]スケールされていない
方向で等間隔の20のメッシュレベルを使う:
LogLogPlot[Sum[i / (x ^ 2 - 2 i 0.99 x + i ^ 2), {i, {1, 10, 100}}], {x, 0.1, 1000}, Mesh -> 20, MeshStyle -> Red]LogLogPlot[Sum[i / (x ^ 2 - 2 i 0.99 x + i ^ 2), {i, {1, 10, 100}}], {x, 0.1, 1000}, Mesh -> {{0.5, 1, 5, 10, 50, 100, 500}}, MeshStyle -> PointSize[Medium]]MeshFunctions (4)
Table[LogLogPlot[Sum[i / (x ^ 2 - 2 i 0.99 x + i ^ 2), {i, {1, 10, 100}}], {x, 0.1, 1000}, MeshFunctions -> {Function[{x, y}, Evaluate[f]]}, Mesh -> 10, MeshStyle -> PointSize[Medium]], {f, {x, y}}]LogLogPlot[Sum[i / (x ^ 2 - 2 i 0.99 x + i ^ 2), {i, {1, 10, 100}}], {x, 0.1, 1000}, Mesh -> 10, MeshFunctions -> {#2&}, MeshStyle -> PointSize[Medium]]Logを使ってメッシュ関数をスケールする:
Table[LogLogPlot[Sum[i / (x ^ 2 - 2 i 0.99 x + i ^ 2), {i, {1, 10, 100}}], {x, 0.1, 1000}, MeshFunctions -> {Function[{x, y}, Evaluate[f]]}, Mesh -> 10, MeshStyle -> PointSize[Medium]], {f, {Log[x], Log[y]}}]
方向に赤で5つのメッシュレベルを,
方向に青で10のメッシュレベルを示す:
LogLogPlot[Sum[i / (x ^ 2 - 2 i 0.99 x + i ^ 2), {i, {1, 10, 100}}], {x, 0.1, 1000}, Mesh -> {5, 10}, MeshFunctions -> {#1&, #2&}, MeshStyle -> {Directive[PointSize[Medium], Red], Blue}]MeshShading (6)
LogLogPlot[Sum[i / (x ^ 2 - 2 i 0.99 x + i ^ 2), {i, {1, 10, 100}}], {x, 0.1, 1000}, Mesh -> {{0.5, 1, 5, 10, 50, 100, 500}}, MeshShading -> {Red, Blue}]Noneを使って線分を除く:
LogLogPlot[Sum[i / (x ^ 2 - 2 i 0.99 x + i ^ 2), {i, {1, 10, 100}}], {x, 0.1, 1000}, Mesh -> {{0.5, 1, 5, 10, 50, 100, 500}}, MeshShading -> {Red, None}]MeshShadingはPlotStyleとともに使うことができる:
LogLogPlot[Sum[i / (x ^ 2 - 2 i 0.99 x + i ^ 2), {i, {1, 10, 100}}], {x, 0.1, 1000}, Mesh -> {{0.5, 1, 5, 10, 50, 100, 500}}, PlotStyle -> Thick, MeshShading -> {Red, Blue}]曲線のスタイル付けに関してはMeshShadingはPlotStyleよりも優先順位が高い:
LogLogPlot[Sum[i / (x ^ 2 - 2 i 0.99 x + i ^ 2), {i, {1, 10, 100}}], {x, 0.1, 1000}, Mesh -> {{0.5, 1, 5, 10, 50, 100, 500}}, PlotStyle -> Green, MeshShading -> {Red, Blue}]MeshShadingをAutomaticに設定し,PlotStyleをいくつかの線分に使う:
LogLogPlot[Sum[i / (x ^ 2 - 2 i 0.99 x + i ^ 2), {i, {1, 10, 100}}], {x, 0.1, 1000}, Mesh -> {{0.5, 1, 5, 10, 50, 100, 500}}, PlotStyle -> Directive[Thick, Yellow], MeshShading -> {Red, Automatic}]MeshShadingはColorFunctionとともに使うことができる:
LogLogPlot[Sum[i / (x ^ 2 - 2 i 0.99 x + i ^ 2), {i, {1, 10, 100}}], {x, 0.1, 1000}, Mesh -> {2 ^ Range[-3, 10]}, PlotStyle -> Thick, MeshShading -> {StandardGray, Automatic},
ColorFunction -> Function[{x, y}, Hue[Log[x] / 10]]]MeshStyle (4)
LogLogPlot[Sum[i / (x ^ 2 - 2 i 0.99 x + i ^ 2), {i, {1, 10, 100}}], {x, 0.1, 1000}, Mesh -> {{0.5, 1, 5, 10, 50, 100, 500}}, MeshStyle -> Automatic]LogLogPlot[Sum[i / (x ^ 2 - 2 i 0.99 x + i ^ 2), {i, {1, 10, 100}}], {x, 0.1, 1000}, Mesh -> {{0.5, 1, 5, 10, 50, 100, 500}}, MeshStyle -> Red]LogLogPlot[Sum[i / (x ^ 2 - 2 i 0.99 x + i ^ 2), {i, {1, 10, 100}}], {x, 0.1, 1000}, Mesh -> {{0.5, 1, 5, 10, 50, 100, 500}, {0.001, 0.01, 0.1, 1, 10}}, MeshStyle -> {Red, Blue}, MeshFunctions -> {#1&, #2&}]LogLogPlot[Sum[i / (x ^ 2 - 2 i 0.99 x + i ^ 2), {i, {1, 10, 100}}], {x, 0.1, 1000}, Mesh -> {{0.5, 1, 5, 10, 50, 100, 500}}, MeshStyle -> Directive[PointSize[Large], Red]]PerformanceGoal (2)
PlotHighlighting (8)
デフォルト設定のPlotHighlightingAutomaticのとき,プロットにはインタラクティブな座標のコールアウトが付く:
LogLogPlot[{2^x, Gamma[x]}, {x, 0.01, 4.5}]PlotHighlightingNoneを使ってプロット全体のハイライトをオフにする:
LogLogPlot[{2^x, Gamma[x]}, {x, 0.01, 4.5}, PlotHighlighting -> None]Highlighted[…,None]を使って単一の曲線のハイライトをオフにする:
LogLogPlot[{2^x, Highlighted[Gamma[x], None]}, {x, 0.01, 4.5}]LogLogPlot[{2^x, Gamma[x]}, {x, 0.01, 4.5}, PlotHighlighting -> "Ball"]LogLogPlot[Highlighted[Gamma[x], Placed["Ball", 2]], {x, 0.01, 4.5}]曲線にマウスオーバーしてラベルと軸までのドロップラインでハイライトする:
LogLogPlot[Gamma[x], {x, 0.01, 4.5}, PlotHighlighting -> "Dropline"]LogLogPlot[Highlighted[Gamma[x], Placed["Dropline", 2]], {x, 0.01, 4.5}]プロットにマウスオーバーして
位置に対応する
の値を示すスライスでハイライトする:
LogLogPlot[{2^x, Gamma[x]}, {x, 0.01, 4.5}, PlotHighlighting -> "XSlice"]LogLogPlot[Highlighted[{2^x, Gamma[x]}, Placed["XSlice", 1]], {x, 0.01, 4.5}]プロットにマウスオーバーして
位置に対応する
の値を示すスライスでハイライトする:
LogLogPlot[Gamma[x], {x, 0.01, 4.5}, PlotHighlighting -> "YSlice"]マウスカーソルの
位置に最も近い曲線上の点を示す成分を使う:
LogLogPlot[{2^x, Gamma[x]}, {x, 0.01, 4.5}, PlotHighlighting -> "XNearestPoint"]LogLogPlot[{2^x, Gamma[x]}, {x, 0.01, 4.5}, PlotHighlighting -> {"XNearestPoint", <|"Style" -> Red|>}]LogLogPlot[{2^x, Gamma[x]}, {x, 0.01, 4.5}, PlotHighlighting -> "XYLabel"]Calloutオプションを使ってラベルの外観を変える:
LogLogPlot[{2^x, Gamma[x]}, {x, 0.01, 4.5}, PlotHighlighting -> {"XYLabel", <|"Appearance" -> "Corners", "CalloutMarker" -> "Circle"|>}]LogLogPlot[{2^x, Gamma[x]}, {x, 0.01, 4.5}, PlotHighlighting -> {{"XNearestPoint", <|"Style" -> Red|>}, {"XYLabel", <|"Appearance" -> "Corners", "CalloutMarker" -> "Circle"|>}}]PlotInteractivity (4)
デフォルトで,プロットにはインタラクティブなハイライト機能がある:
LogLogPlot[x + Sin[x], {x, 1, 100}]LogLogPlot[x + Sin[x], {x, 1, 100}, PlotInteractivity -> False]LogLogPlot[Tooltip[x + Sin[x], "hello"], {x, 1, 100}, PlotInteractivity -> False]与えたインタラクティブ要素は有効にして,自動のものを無効にする:
LogLogPlot[Tooltip[x + Sin[x], "hello"], {x, 1, 100}, PlotInteractivity -> <|"User" -> True, "System" -> False|>]PlotLabel (1)
PlotLabels (5)
LogLogPlot[{Log[x], x ^ x}, {x, 1, 2π}, PlotLabels -> {"log(x)", "x^x"}]LogLogPlot[{x ^ Sin[x], x ^ Cos[x]}, {x, 1, 2π}, PlotLabels -> Placed["Expressions", Above]]LogLogPlot[{x ^ Sin[x], x ^ Cos[x]}, {x, 1, 2π}, PlotLabels -> {Placed[x ^ Sin[x], After], Placed[x ^ Cos[x], Above]}]PlotLabels->"Expression"は曲線のラベルとして関数を使う:
LogLogPlot[{Log[x], x ^ x}, {x, 1, 3}, PlotLabels -> "Expressions"]LogLogPlot[{x, x ^ Sin[x]}, {x, 1, 10}, PlotLabels -> {Callout[x, Scaled[0.33]], Callout[x ^ Sin[x], Scaled[0.5]]}]Noneを使ってラベルを付けないようにする:
LogLogPlot[{x ^ Sin[x], x ^ Cos[x]}, {x, 1, 2π}, PlotLabels -> {x ^ Sin[x], None}]PlotLayout (2)
LogLogPlot[{x, x ^ 2, x ^ 3}, {x, 1, 100}, ImageSize -> Medium, PlotLayout -> "Column"]LogLogPlot[{x, x ^ 2, x ^ 3}, {x, 1, 100}, ImageSize -> Medium, PlotLayout -> "Row"]LogPlot[{x, x ^ 2, x ^ 3, x + Sin[x], Log[x], Log[x]}, {x, 1, 100}, PlotLayout -> {"Column", 4}]LogLogPlot[{x, x ^ 2, x ^ 3, x + Sin[x], Log[x], Log[x]}, {x, 1, 100}, PlotLayout -> {"Column", UpTo[4]}]PlotLegends (7)
LogLogPlot[{1 / Abs[x - 10], 1 / Abs[x - 100]}, {x, 1, 1000}]LogLogPlot[{1 / Abs[x - 10], 1 / Abs[x - 100]}, {x, 1, 1000}, PlotLegends -> "Expressions"]LogLogPlot[{1 / Abs[x - 10], 1 / Abs[x - 100]}, {x, 1, 1000}, PlotLegends -> Automatic]LogLogPlot[{1 / Abs[x - 10], 1 / Abs[x - 100]}, {x, 1, 1000}, PlotLegends -> {"one", "two"}]PlotLegendsは自動的にPlotStyleの値を拾う:
LogLogPlot[{1 / Abs[x - 10], 1 / Abs[x - 100]}, {x, 1, 1000}, PlotStyle -> {Red, Blue}, PlotLegends -> Automatic]Placedを使って凡例の位置を決める:
LogLogPlot[{1 / Abs[x - 10], 1 / Abs[x - 100]}, {x, 1, 1000}, PlotStyle -> {Red, Blue}, PlotLegends -> Placed[Automatic, Below]]LogLogPlot[{1 / Abs[x - 10], 1 / Abs[x - 100]}, {x, 1, 1000}, PlotStyle -> {Red, Blue}, PlotLegends -> Placed[Automatic, {0.875, 0.75}]]LineLegendを使って凡例の外観を変える:
LogLogPlot[{1 / Abs[x - 10], 1 / Abs[x - 100]}, {x, 1, 1000}, PlotLegends -> LineLegend["Expressions", LegendFunction -> Frame]]PlotPoints (1)
PlotRange (1)
PlotStyle (6)
Table[LogLogPlot[10 / (x ^ 2 - 19x + 100), {x, 0.1, 100}, PlotStyle -> ps, Ticks -> None], {ps, {Red, Thick, Dashed, Directive[Red, Thick]}}]LogLogPlot[Evaluate[Table[i / (x ^ 2 - 2 i 0.99 x + i ^ 2), {i, {1, 10, 100}}]], {x, 0.1, 1000}]LogLogPlot[Evaluate[Table[i / (x ^ 2 - 2 i 0.99 x + i ^ 2), {i, {1, 10, 100}}]], {x, 0.1, 1000}, PlotStyle -> {Red, Green, Blue}]PlotStyleはColorFunctionと組み合せることができる:
LogLogPlot[10 / (x ^ 2 - 19x + 100), {x, 0.1, 100}, PlotStyle -> Thick, ColorFunction -> Function[{x, y}, Hue[x]]]PlotStyleはMeshShadingと組み合せることができる:
LogLogPlot[10 / (x ^ 2 - 19x + 100), {x, 0.1, 100}, PlotStyle -> Directive[Opacity[0.5], Thick], Mesh -> 10, MeshFunctions -> {Log[#1]&}, MeshShading -> {Red, Blue}]MeshStyleは,デフォルトで,PlotStyleと同じスタイルを使う:
LogPlot[x ^ Sin[x], {x, 0, 10}, PlotStyle -> Red, Mesh -> All]PlotTheme (1)
RegionFunction (2)
LogLogPlot[Sum[i / (x ^ 2 - 2 i 0.99 x + i ^ 2), {i, {1, 10, 100}}], {x, 0.1, 1000}, RegionFunction -> Function[{x, y}, x y < 2]]LogLogPlot[10 / (x ^ 2 - 19.8x + 100), {x, 0.1, 100}, RegionFunction -> Function[{x, y}, Not[1 / 2 < y < 2]]]ScalingFunctions (2)
LogLogPlot[Exp[Sin[(x - 2)] / (x - 2) ^ 2], {x, 0, 25}]LogLogPlot[Sin[x], {x, 0, 25}, ScalingFunctions -> "Reverse"]LogLogPlot[Sin[x], {x, 0, 25}, ScalingFunctions -> {"Reverse" , "Reverse"}]特性と関係 (4)
LogLogPlotは必要な場合はより多くの点をサンプルに取る:
LogLogPlot[10 / (x ^ 2 - 6x + 10), {x, 1, 10}, Mesh -> All]LogLogPlotはPlotの曲線についての特殊ケースである:
{LogLogPlot[1 / (x - 5) ^ 2, {x, 1, 10}], Plot[Log[1 / (Exp[x] - 5) ^ 2], {x, Log[1], Log[10]}, AxesOrigin -> {0, -3}]}他方向の対数プロットにLogPlotとLogLinearPlotを使う:
LogPlot[Gamma[x], {x, 0, 10}]データにListLogPlotを使う:
{ListLogLogPlot[Table[{x, 10 / (x ^ 2 - 6x + 10)}, {x, 1, 10, 0.1}]], LogLogPlot[10 / (x ^ 2 - 6x + 10), {x, 1, 10}]}テクニカルノート
-
▪
- 特殊なプロット
関連するガイド
-
▪
- 関数の可視化
履歴
2007 で導入 (6.0) | 2012 で更新 (9.0) ▪ 2014 (10.0) ▪ 2016 (10.4) ▪ 2016 (11.0) ▪ 2018 (11.3) ▪ 2021 (13.0) ▪ 2022 (13.1) ▪ 2023 (13.3) ▪ 2025 (14.3) ▪ 2026 (15.0)
テキスト
Wolfram Research (2007), LogLogPlot, Wolfram言語関数, https://reference.wolfram.com/language/ref/LogLogPlot.html (2026年に更新).
CMS
Wolfram Language. 2007. "LogLogPlot." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2026. https://reference.wolfram.com/language/ref/LogLogPlot.html.
APA
Wolfram Language. (2007). LogLogPlot. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LogLogPlot.html
BibTeX
@misc{reference.wolfram_2026_loglogplot, author="Wolfram Research", title="{LogLogPlot}", year="2026", howpublished="\url{https://reference.wolfram.com/language/ref/LogLogPlot.html}", note=[Accessed: 03-December-2026]}
BibLaTeX
@online{reference.wolfram_2026_loglogplot, organization={Wolfram Research}, title={LogLogPlot}, year={2026}, url={https://reference.wolfram.com/language/ref/LogLogPlot.html}, note=[Accessed: 03-December-2026]}