diff options
Diffstat (limited to 'graphics/ketcindy/ketcindyfolder/doc/source/ketmanual/KeTCindyReferenceE.tex')
-rw-r--r-- | graphics/ketcindy/ketcindyfolder/doc/source/ketmanual/KeTCindyReferenceE.tex | 168 |
1 files changed, 110 insertions, 58 deletions
diff --git a/graphics/ketcindy/ketcindyfolder/doc/source/ketmanual/KeTCindyReferenceE.tex b/graphics/ketcindy/ketcindyfolder/doc/source/ketmanual/KeTCindyReferenceE.tex index aabea0a665..bb0c5f884f 100644 --- a/graphics/ketcindy/ketcindyfolder/doc/source/ketmanual/KeTCindyReferenceE.tex +++ b/graphics/ketcindy/ketcindyfolder/doc/source/ketmanual/KeTCindyReferenceE.tex @@ -236,21 +236,23 @@ To draw a point in the void mode. \itemket{Description}Generic function to set the color of figures and characters in the \TeX\ figure. \itemket{Examples}\mbox{} +\verb|C.xy=|B.xy|/|C.xy|*C.xy;|\\ +\verb|Listplot([B,A,C]);|\\ \verb|Setcolor([1,0,0]);|\\ -\verb|Circledata([A,D],["Rng=[0,pi/3]"]);|\\ -\verb|Arrowhead(E,[-1,0.8],[2,1]);| +\verb|Anglemark("1",[B,A,C],[3]); //size=3|\\ +\verb|Arrowhead(1,"ag1",[2]); //position=1,size=2| -\verb|Setcolor("red",opacity);|\\ -\hspace*{20mm} opacity is real number from 0 to 1 +%\verb|Setcolor("red",opacity);|\\ +%\hspace*{20mm} opacity is real number from 0 to 1 \itemket{Remark}You can also use color option in each command of drawing. -\verb|Circledata([A,D],["Rng=[0,pi/3]","Color=[1,0,0]"]);|\\ -\verb|Arrowhead(E,[-1,0.8],[2,1],"Color=[1,0,0]");| +\verb|Arrowhead(1,"ag1",["Color=[1,0,0]"]);| -\begin{center} -\includegraphics[bb=0 0 161 134,width=35mm]{Fig/setcolor.pdf} -\end{center} +\vspace{\baselineskip} +\hspace{20mm}% +\includegraphics[width=35mm,bb=0.00 0.00 176.00 165.00]{Fig/anglearrowscreen.pdf}% +\hspace{20mm}\scalebox{0.5}{\input{Fig/anglearrow.tex}} Refer to Color table on Appendix. @@ -350,12 +352,6 @@ Size can be change as a option of "Pointdata". \hspace{20mm}\input{Fig/pointsize} \end{cmd} -%------------Setarrow-------------------------------- -\begin{cmd}{Setarrow}{setarrow} -\itemket{Usage}Setarrow(size,angle,position,cut,segstyle) -\itemket{Description}Generic function to set the arrow. -\itemket{Details} Set the style of arrow. Same as options of \hyperlink{arrowdata}{Arrowdata()} .\\ -\end{cmd} %------------Setmarklen-------------------------------- @@ -708,13 +704,10 @@ This Point P on the asteroid can be move along the curve on the Euclidean view. \end{center} \end{cmd} -%-------------Setarrow------------------------------ +%------------Setarrow-------------------------------- \begin{cmd}{Setarrow}{setarrow} -\itemket{Usage}Setarrow([arrowsize,angle,position,cut,linestyle]); -\itemket{Description}Generic function to set styles of arrows. -\itemket{Details}Defaults are arrowsize(1),angle(18),position(1),cut(1),linestyle("dr"). -\verb|-1| means to unchange the default. -\itemket{Examples}Setsarrow([-1,30,-1,0.2]); +\itemket{Usage}Setarrow(size(1), angle(18), position(1), cut(0.2) +\itemket{Description}set the style of arrow \end{cmd} %------------Arrowdata-------------------------------- @@ -722,22 +715,22 @@ This Point P on the asteroid can be move along the curve on the Euclidean view. \itemket{Usage}Arrowdata(name,[starting point, ending point] , options) \itemket{Description}draw an arrow line between two points. -Options : arrowhead size, arrowhead angle,position,cut position,line type,line color,trimming.\\ -All options do not always reflect on Euclidean view. +Options : Those of Setarrow and "Line=n(y)"(with line),"Cutend="(trimming),"Color=" + \itemket{Examples}\mbox{} \verb| Arrowdata("1",[A,B]);|\\ \verb| Arrowdata("2",[[1,0],[2,3]],[2]);|\\ \verb| Arrowdata("3",[[2,0],[3,3]],[3,45]);|\\ \verb| Arrowdata("4",[[3,0],[4,3]],[3,1,0.5]);|\\ -\verb| Arrowdata("5",[[4,0],[5,3]],[3,1,1,0.5]);|\\ -\verb| Arrowdata("6",[[5,0],[6,3]],[3,1,1,1]);|\\ +\verb| Arrowdata("5",[[4,0],[5,3]],[3,1,1,0]);|\\ +\verb| Arrowdata("6",[[5,0],[6,3]],[3,"Line=y"]);|\\ \verb| Arrowdata("7",[[6,0],[7,3]],[3,"dr,2"]);|\\ \verb| Arrowdata("8",[[7,0],[8,3]],[3,1,1,0.5,"Color=red"]);|\\ -\begin{center} -\input{Fig/arrowdata} -\end{center} +%\vspace{6mm} + +\hspace{20mm}\scalebox{0.9}{\input{Fig/arrowhead}} \begin{minipage}{80mm} \verb| Circledata("1",[A,A.xy+[0.5,0]]);|\\ @@ -754,43 +747,71 @@ All options do not always reflect on Euclidean view. %--------------Arrowhead------------------------------ \begin{cmd}{Arrowhead}{arrowhead} -\itemket{Usage}Arrowhead(point, direction , options) , Arrowhead(point, PD, options) -\itemket{Description}draw an arrowhead with specified direction at a designated point.\\ -Options are: arrowhead size, arrowhead angle,position,shape,position.\\ +\itemket{Usage}(1) Arrowhead(point, direction , options) \\ +\hspace*{18.8mm}(2) Arrowhead(point/positon ratio, PD(curve), options) +\itemket{Description}(1) draw an arrowhead with specified direction at a point.\\ +\hspace*{18.8mm}(2) draw an arrowhead on a PD(curve)\\ +Options are the same as Arrowdata\\ +Position ratio of a point on the curve is from 0 to 1. \itemket{Examples}\mbox{} +\vspace{2mm} + +\begin{layer}{150}{0} +\putnotese{110}{8}{\input{Fig/ForRef-Arrowhead-1}} +\end{layer} + Let A=[1,1]. \begin{enumerate}[(a)] \item \verb|Arrowhead(A,[-1,1]);| \item \verb|Arrowhead([1,1],[-1,1],[2,60]);| -\item \verb|Arrowhead(A,[-1,1],[2,30,"b"]);| -\item \verb|Arrowhead([1,1],[-1,1],[2,20,"lc"]);| +\item \verb|Arrowhead(A,[-1,1],[2,30,0.5);| +\item \verb|Arrowhead([1,1],[-1,1],[2,20,0.5,"Line=y"]);| \end{enumerate} -\hspace*{17mm}% -\Ltab{30mm}{(a)}\Ltab{30mm}{(b)}\Ltab{30mm}{(c)}\Ltab{30mm}{(d)}\\ -\hspace*{20mm}% -\Ltab{30mm}{\input{Fig/ForRef-Arrowhead-2}}% -\Ltab{30mm}{\input{Fig/ForRef-Arrowhead-3}} -\Ltab{30mm}{\input{Fig/ForRef-Arrowhead-4}} -\Ltab{30mm}{\input{Fig/ForRef-Arrowhead-5}} +\vspace{5mm} + +\begin{layer}{150}{0} +\putnotese{0}{0}{(a)} +\putnotese{30}{0}{(b)} +\putnotese{60}{0}{(c)} +\putnotese{90}{0}{(d)} +\putnotese{0}{7}{ \input{Fig/ForRef-Arrowhead-2}} +\putnotese{30}{7}{ \input{Fig/ForRef-Arrowhead-3}} +\putnotese{60}{7}{ \input{Fig/ForRef-Arrowhead-4}} +\putnotese{90}{7}{ \input{Fig/ForRef-Arrowhead-5}} +\end{layer} + +\vspace{30mm} + +\begin{layer}{150}{0} +\putnotese{110}{4}{\input{Fig/ForRef-Arrowhead2-6}} +\end{layer} + +Let A whose position ratio is 0.6 be on the curve cr1. -Let D be on the curve crBC. \begin{enumerate}[(a)]% \setcounter{enumi}{4}% -\item \verb|Arrowhead(D,"crBC");| -\item \verb|Arrowhead(D,"crBC",[2]);| -\item \verb|Arrowhead(D,"crBC",[2,30,"l"]);| -\item \verb|Arrowhead(D,"Invert(crBC)");| +\item \verb|Arrowhead(A,"cr1");| +\item \verb|Arrowhead(0.6,"cr1",[2,1,0.5,"Color=red"]);| +\item \verb|Arrowhead(1,"cr1");| +\item \verb|Arrowhead(1,"Invert(cr1)",["Line=y"]);| \end{enumerate} -\hspace*{17mm}% -\Ltab{30mm}{(e)}\Ltab{30mm}{f)}\Ltab{30mm}{(g)}\Ltab{30mm}{(h)}\\ -\hspace*{20mm}% -\Ltab{30mm}{\input{Fig/ForRef-Arrowhead-7}} -\Ltab{30mm}{\input{Fig/ForRef-Arrowhead-8}} -\Ltab{30mm}{\input{Fig/ForRef-Arrowhead-9}} -\Ltab{30mm}{\input{Fig/ForRef-Arrowhead-10}} +\vspace{5mm} + +\begin{layer}{150}{0} +\putnotese{0}{0}{e)} +\putnotese{30}{0}{(f)} +\putnotese{60}{0}{(g)} +\putnotese{90}{0}{(h)} +\putnotese{0}{7}{ \input{Fig/ForRef-Arrowhead2-7}} +\putnotese{30}{7}{ \input{Fig/ForRef-Arrowhead2-8}} +\putnotese{60}{7}{ \input{Fig/ForRef-Arrowhead2-9}} +\putnotese{90}{7}{ \input{Fig/ForRef-Arrowhead2-10}} +\end{layer} + +\vspace{30mm} \end{cmd} @@ -2218,7 +2239,7 @@ near point from start position : Set in case where the first curve and the last \verb|Hatchdata("8",["i"],[["crAB"]]);| \begin{center} -\input{Fig/HatchZuKita7E.tex}\hspace{10mm}\input{Fig/HatchZuKita8E.tex} +\input{Fig/HatchZuKita7E.tex}\hspace{10mm}\input{Fig/HatchZuKita8.tex} \end{center} %\verb|Hatchdata("9a",["iii"],[["crAB"],["ln1","n"],["ln2","n"]]);|\\ @@ -2261,9 +2282,16 @@ the surrounded region is filled with dots. \begin{cmd}{Shade}{shade} \itemket{Usage}Shade(("name"),list of PD, options); \itemket{Description}This function fills a domain surrounded by a closed curve. -\itemket{Details}\mbox{}\\ -If "Invert" is used in some PD, \verb|Enclosing| is used, if not, \verb|Joincrvs| is used as default. -The options are use of enclosing("Enc=y/n") and color. +\itemket{Details}Options are as follows. () means the default.\\ +\begin{itemize} +\item Starting point. The defaults are the intersect of the first curve and the last one. +\item "Color=" +\item "Enc=n(y)"\ \ Whether \verb|Enclosing| is used. +\item "Trim=n(y)"\ \ Whether it is trimmed in the window. +\item "First=y(n)"\\ +\hspace*{5mm}Whether \verb|Shade| is placed at the top in \TeX. The default is just before Gdata. + +\end{itemize} \itemket{Examples}\mbox{}\\ \verb|Setax([7,"nw"]);|\\ \verb|Plotdata("1","2*sin(x)","x",["Num=100"]);|\\ @@ -5701,7 +5729,7 @@ Find on the screen (not in the space) intersection points (\verb|tmp_1|, \verb|t \itemket{Description} Function to add scripts to the first/last of body tag. \itemket{Examples} \mbox{} -\verb|Ketcindyjsbody(["<p,f10>__Title''],[]);|\\ +\verb|Ketcindyjsbody(["<p,f10>_;_;Title"],[]);|\\ \verb| => <p><font size="10">  Title</font></p>| \end{cmd} @@ -5769,6 +5797,30 @@ Find on the screen (not in the space) intersection points (\verb|tmp_1|, \verb|t %-==Appendix ======================== \section{Appendix} +\subsection{To use other text editor} + + +For example, let the cdyfie be \verb|template.cdy|. + +\begin{enumerate}[(1)] +\item Create \verb|template.txt| and put it in the same folder as the cdy file. +\item Describe in Figures slot as follows, and execute. +\begin{verbatim} + Ketinit(); + setdirectory(Dircdy); + import(Cdyname()+''.txt''); + setdirectory(Dirwork); + Windispg(); +\end{verbatim} + +\item Write scripts in \verb|template.txt| and save it.\\ +Ex)\ \verb|Putpoint("A",[0,0],A.xy);|\\ +\phantom{Ex)\ }\verb|Plotdata("1'',''x^2'',''x'');| + +\item Click any position on the screen. + +\end{enumerate} + \subsection{Color table} \begin{center} @@ -5837,7 +5889,7 @@ Rem) lightgray\ [0,0,0,0.15],\ offwhite\ [0,0,0,0.3],\ cindycolor\ [0.66,0,69,0. {\bf Drawing} \> \\ \hyperlink{drawfigures}{Drawfigures} \> manipulate a plural number of PDs together.\\ \hyperlink{anglemark}{Anglemark} \> draw an angle mark.\\ -\hyperlink{setarrow}{Setarrowdata} \> set styles of arrows.\\ +\hyperlink{setarrow}{Setarrow} \> set styles of arrows.\\ \hyperlink{arrowdata}{Arrowdata} \> draw an arrow line between two points.\\ \hyperlink{arrowhead}{Arrowhead} \>draw an arrowhead with specified direction at a designated point.\\ \hyperlink{bezier}{Bezier} \> draw a Bezier curve.\\ |