- 阅读权限
- 255
- 威望
- 0 级
- 论坛币
- 36063 个
- 通用积分
- 458.0378
- 学术水平
- 90 点
- 热心指数
- 85 点
- 信用等级
- 64 点
- 经验
- 103909 点
- 帖子
- 311
- 精华
- 0
- 在线时间
- 2889 小时
- 注册时间
- 2015-9-20
- 最后登录
- 2025-12-22
|
hfghjkhfghjk 发表于 2015-11-10 19:33 
不好意思迟了几天回复。图像很完美,不过我还想请教一下如何修改坐标轴、填充(像例图一样)?如果有参考 ... 用命令
ParametricPlot[{5 p q - 2 p - 2 q + 1, 5 p q - 3 p - 3 q + 2}, {p, 0, 1}, {q, 0, 1}, Frame -> False]
作图,去掉边框。然后,鼠标点击图形,右键打开Drawing tools对图进行编辑。可以添加文字和公式。图中的斜线可以逐一选择删除。
另外我tikz做了一个图,可以直接使用,供参考。 - \begin{tikzpicture}[x=1.00mm, y=1.00mm, inner xsep=0pt, inner ysep=0pt, outer xsep=0pt, outer ysep=0pt]
- \path[line width=0mm] (-1.12,-1.12) rectangle +(53.91,52.25);
- \definecolor{L}{rgb}{0.827,0.827,0.827}
- \definecolor{F}{rgb}{0.827,0.827,0.827}
- \path[line width=-0.20mm, draw=L, fill=F] (0.00,2.40) .. controls (11.90,10.34) and (35.70,26.20) .. (47.60,34.13) .. controls (47.60,34.13) and (33.32,26.20) .. (25.39,23.03) .. controls (17.45,19.85) and (15.87,21.44) .. (31.73,50.00) .. controls (23.80,38.10) and (7.93,14.30) .. (0.00,2.40) -- cycle;
- \definecolor{L}{rgb}{0,0,0}
- \path[line width=0.08mm, draw=L] (0.00,2.40) .. controls (11.90,10.34) and (35.70,26.20) .. (47.60,34.13) .. controls (47.60,34.13) and (33.32,26.20) .. (25.39,23.03) .. controls (17.45,19.85) and (15.87,21.44) .. (31.73,50.00) .. controls (23.80,38.10) and (7.93,14.30) .. (0.00,2.40) -- cycle;
- \path[line width=0.08mm, draw=L] (0.00,18.27) -- (47.60,18.27);
- \path[line width=0.08mm, draw=L] (15.87,50.00) -- (15.87,2.40);
- \path[line width=0.08mm, draw=L] (19.83,22.23);
- \definecolor{T}{rgb}{0,0,0}
- \draw[T] (9.92,12.32) node[anchor=base west]{\fontsize{5.62}{6.75}\selectfont \textcolor[rgb]{0, 0, 0}{R}};
- \path[line width=0.08mm, draw=L] (47.60,18.27) -- (47.60,20.25);
- \path[line width=0.08mm, draw=L] (31.73,18.27) -- (31.73,20.25);
- \path[line width=0.08mm, draw=L] (15.87,34.13) -- (17.85,34.13);
- \path[line width=0.08mm, draw=L] (15.87,50.00) -- (17.85,50.00);
- \path[line width=0.08mm, draw=L] (0.00,18.27) -- (0.00,20.25);
- \path[line width=0.08mm, draw=L] (15.87,2.40) -- (17.85,2.40);
- \path[line width=0.08mm, draw=L] (47.60,20.25);
- \draw[T] (28.75,16.29) node[anchor=base west]{\fontsize{5.62}{6.75}\selectfont \textcolor[rgb]{0, 0, 0}{Player 1's utility}};
- \draw[T] (14.75,31.29) node[anchor=base west,rotate=90]{\fontsize{5.62}{6.75}\selectfont \textcolor[rgb]{0, 0, 0}{Player 2's utility}};
- \path[line width=0.08mm, draw=L] (19.83,22.23);
- \draw[T] (33.72,48.02) node[anchor=base west]{\fontsize{5.62}{6.75}\selectfont \textcolor[rgb]{0, 0, 0}{(1,2)}};
- \draw[T] (47.60,32.15) node[anchor=base west]{\fontsize{5.62}{6.75}\selectfont \textcolor[rgb]{0, 0, 0}{(2,1)}};
- \draw(23.00,27.00) node[anchor=base west]{\fontsize{5.62}{6.75}\selectfont $(\frac{1}{4},\frac{1}{4})$};
- \path[line width=0.08mm, draw=L] (22.33,27.21) .. controls (21.33,26.21) and (20.14,23.80) .. (20.14,22.80);
- \definecolor{F}{rgb}{0,0,0}
- \path[line width=0.08mm, draw=L, fill=F] (20.14,22.80) -- (20.51,23.58) -- (20.27,23.42) -- (20.10,23.67) -- (20.14,22.80) -- cycle;
- \path[line width=0.08mm, draw=L, fill=F] (19.95,22.33) circle (0.20mm);
- \draw[T] (1.98,0.42) node[anchor=base west]{\fontsize{5.62}{6.75}\selectfont \textcolor[rgb]{0, 0, 0}{(-1,-1)}};
- \end{tikzpicture}%
复制代码
|
|