発言者: tDB
発言日: 2009 06/15 15:52
発言元: ntchba201091.chba.nt.ftth.ppp.infoweb.ne.jp
> \YGurafu(0.2)(0.08)\gX#4#5のように、
> \YGraphで点線描画することはできますでしょうか?
その方式は,\YGraph ではサポートしません。
破線描画は,pszahyou(*) で <dash=..> を用います。
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{jarticle}
\usepackage{graphicx,color}
\usepackage{emathPh}
\usepackage[remake]{emathPs}
\usepackage{multido}
\begin{document}
\unitlength=25pt
\begin{zahyou}[haiti=t](-3,3)(-1,5)
\def\fX{X*X}
\def\gX{-0.5*X*X+3}
\YKouten\fX\gX{0}{}\Ax\A
\YNurii[0.4]\fX\gX{-\Ax}\Ax
\YGraph<minx=-\Ax,maxx=\Ax>\fX
\YGurafu(0.2)(0.08)\gX{-\Ax}\Ax
\footnotesize \tenretu{[$\sqrt{2}$]AX(\Ax,0)s;[$- \sqrt{2}$]BX(-\Ax,0)s} \normalsize
\YTen\fX{-\Ax}\B
\emDottedline{\AX\A\B\BX}
\footnotesize \Put{(0,2)}[nw]{2}
\Put{(0,3)}[nw]{3} \normalsize
\Siromaru{\A\B}
\YTen\fX{1}\X
\PutStr*{(0.7,-0.3)}[e]{\footnotesize $y= x^2$}to[hankei=-1.6,arrowheadsize=0]\X
\YTen\gX{0.9}\Y
\PutStr*{(0.7,0.3)}[e]{\footnotesize $y=- \bunsuu{1}{2} x^2 +3$}to[hankei=1.6,arrowheadsize=0]\Y
\end{zahyou}
\begin{pszahyou}[haiti=t](-3,3)(-1,5)
\def\fX{X*X}
\def\gX{-0.5*X*X+3}
\YKouten\fX\gX{0}{}\Ax\A
\YNurii[0.3]\fX\gX{-\Ax}\Ax
\YGraph<minx=-\Ax,maxx=\Ax>\fX
\YGraph<dash={.1,.08},minx=-\Ax,maxx=\Ax>\gX
\YTen\fX{-\Ax}\B
\Put\A[syaei=xy,xlabel=,ylabel=]{}
\Put\B[syaei=xy,xlabel=,ylabel=]{}
\Siromaru{\A\B}
\begin{footnotesize}
\xPut{[\sqrt2]\Ax;[-\sqrt2]-\Ax}
\yPut{2[nw];3[nw]}
\end{footnotesize}
\setlinewidth{.3pt}
\YTen\fX{1}\X
\PutStr*{(0.7,-0.3)}[e]{\footnotesize $y= x^2$}to[hankei=-1.6,arrowheadsize=0]\X
\YTen\gX{0.9}\Y
\PutStr*{(0.7,0.3)}[e]{\footnotesize $y=- \bunsuu{1}{2} x^2 +3$}to[hankei=1.6,arrowheadsize=0]\Y
\end{pszahyou}
\end{document}
▼関連発言
│
└◆8198:\YGraphの点線描画 [st] 06/15 15:14
└◆8199:Re:\YGraphの点線描画 [tDB] 06/15 15:52
└◆8202:Re[2]:\YGraphの点線描画 [st] 06/16 01:39<-last