17/07/2020, 13:37
\documentclass[10pt]{article}
\usepackage{pgf,tikz,pgfplots}
\pgfplotsset{compat=1.15}
\usepackage{mathrsfs}
\usetikzlibrary{arrows}
\pagestyle{empty}
\usepackage{graphicx,caption}
\begin{document}
\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=1cm,y=1cm]
\shadedraw[ball color = white](0.,0.) circle (2.);
\clip(-5.170605128599033,-4.518248377191176) rectangle (6.411478171043815,3.1238654495409754);
\draw [line width=1.2pt,fill=black,fill opacity=0.21] (0,0) circle (2cm);
\draw[line width=2pt, smooth,samples=100,domain=0:3.141592653589793] plot[parametric] function{-2*cos((t)),-1/sqrt(2)*2*sin((t))};
\draw[line width=2.8pt,dash pattern=on 1pt off 1pt, smooth,samples=100,domain=-3.141592653589793:0] plot[parametric] function{-2*cos((t)),-1/sqrt(2)*2*sin((t))};
\draw[line width=2pt,dash pattern=on 1pt off 1pt, smooth,samples=100,domain=-0.5235987755982988:3.665191429188092] plot[parametric] function{1.73*cos((t)),1/sqrt(2)*(cos((t))-2*sin((t)))};
\draw[line width=2pt, smooth,samples=100,domain=-3.665191429188092:-0.5235987755982988] plot[parametric] function{1.73*cos((t)),1/sqrt(2)*(cos((t))-2*sin((t)))};
\draw[line width=2pt, smooth,samples=100,domain=-0.5235987755982988:2.6179938779914944] plot[parametric] function{1.73*cos((t)),1/sqrt(2)*(-cos((t))+2*sin((t)))};
\draw[line width=2pt,dash pattern=on 1pt off 1pt, smooth,samples=100,domain=2.6179938779914944:5.759586531581287] plot[parametric] function{1.73*cos((t)),1/sqrt(2)*(-cos((t))+2*sin((t)))};
\end{tikzpicture}
\end{document}
17/07/2020, 15:17
17/07/2020, 16:10
17/07/2020, 19:00
18/07/2020, 11:53
18/07/2020, 12:13
18/07/2020, 12:22
20/07/2020, 07:29
\draw[...] plot[parametric] function{f((t)), g((t))};
↓
\draw[..., variable=\t] plot ({f(deg(\t))}, {f(deg(\t))});
\documentclass[10pt]{article}
\usepackage{pgf,tikz,pgfplots}
\pgfplotsset{compat=1.15}
% \usepackage{mathrsfs}
\usetikzlibrary{arrows}
\pagestyle{empty}
\usepackage{graphicx,caption}
\begin{document}
\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=1cm,y=1cm]
\shadedraw[ball color = white](0.,0.) circle (2.);
\clip(-5.170605128599033,-4.518248377191176) rectangle (6.411478171043815,3.1238654495409754);
\draw [line width=1.2pt,fill=black,fill opacity=0.21] (0,0) circle (2cm);
\draw[red, line width=2pt, smooth,samples=100,domain=0:3.141592653589793, variable=\t] plot ({-2*cos(deg(\t))},{-1/sqrt(2)*2*sin(deg(\t))});
\draw[blue, line width=2.8pt,dash pattern=on 1pt off 1pt, smooth,samples=100,domain=-3.141592653589793:0, variable=\t] plot ({-2*cos(deg(\t))},{-1/sqrt(2)*2*sin(deg(\t))});
\draw[green, line width=2pt,dash pattern=on 1pt off 1pt, smooth,samples=100,domain=-0.5235987755982988:3.665191429188092, variable=\t] plot ({1.73*cos(deg(\t))},{1/sqrt(2)*(cos(deg(\t))-2*sin(deg(\t)))});
\draw[yellow, line width=2pt, smooth,samples=100,domain=-3.665191429188092:-0.5235987755982988, variable=\t] plot ({1.73*cos(deg(\t))},{1/sqrt(2)*(cos(deg(\t))-2*sin(deg(\t)))});
\draw[orange, line width=2pt, smooth,samples=100,domain=-0.5235987755982988:2.6179938779914944, variable=\t] plot ({1.73*cos(deg(\t))},{1/sqrt(2)*(-cos(deg(\t))+2*sin(deg(\t)))});
\draw[line width=2pt,dash pattern=on 1pt off 1pt, smooth,samples=100,domain=2.6179938779914944:5.759586531581287, variable=\t] plot ({1.73*cos(deg(\t))},{1/sqrt(2)*(-cos(deg(\t))+2*sin(deg(\t)))});
\end{tikzpicture}
\end{document}
23/07/2020, 17:53
Skuola.net News è una testata giornalistica iscritta al Registro degli Operatori della Comunicazione.
Registrazione: n° 20792 del 23/12/2010.
©2000—
Skuola Network s.r.l. Tutti i diritti riservati. — P.I. 10404470014.
Powered by phpBB © phpBB Group - Privacy policy - Cookie privacy
phpBB Mobile / SEO by Artodia.