Commit 12647993 authored by Martina Maggio's avatar Martina Maggio
Browse files

removing figure from latex sources

parent 794ecf4d
\documentclass{standalone}
\usepackage{fontspec}
\usepackage{pst-geo}
\usepackage{graphicx}
\begin{document}
\scalebox{0.6}{%
\begin{pspicture}(-5,-4)(6,6)
\psset{RotX=-23, RotZ=30, PHI=46.5833, THETA=0.3333,
visibility=false, Decran=15,
path=/usr/share/texlive/texmf-dist/tex/generic/pst-geo/data}
% map
\WorldMapThreeD[circles=false, blueEarth=false]
\WorldMapThreeD[circles=false, visibility=true, opacity=0.8]
% s1
\pscircle[linecolor=red, fillcolor=red, fillstyle=solid](-3,5){0.1}
\psline[linecolor=red, linewidth=0.1](0.8,0.8)(-3,5)
\rput[tl](-2.75,5.2){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$s_1$}}
% s2
\pscircle[linecolor=red, fillcolor=red, fillstyle=solid](5.5,5.5){0.1}
\psline[linecolor=red, linewidth=0.1](0.78,0.83)(5.5,5.5)
\rput[tl](5.5,5.3){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$s_2$}}
% s3
\pscircle[linecolor=red, fillcolor=red, fillstyle=solid](5,3){0.1}
\psline[linecolor=red, linewidth=0.1](0.75,0.82)(5,3)
\rput[tl](4.8,2.8){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$s_3$}}
% s4
\pscircle[linecolor=red, fillcolor=red, fillstyle=solid](1.25,5){0.1}
\psline[linecolor=red, linewidth=0.1](0.78,0.82)(1.25,5)
\rput[tl](1.45,5.15){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$s_4$}}
% s5
\pscircle[linecolor=red, fillcolor=red, fillstyle=solid](0.5,4.5){0.1}
\psline[linecolor=red, linestyle=dashed, linewidth=0.1](0.8,0.82)(0.5,4.5)
\rput[tl](-0.1,4.5){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$s_5$}}
% curve for satelite s3
\pscurve[linecolor=red, linestyle=dotted]{->}(5,3)(5.75,3.2)(4,1.5)
% delay and distance for s1
\rput[tl](-4.4,4.3){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$\{\Delta_1, d_1\}$}}
\end{pspicture}}
\end{document}
......@@ -5,39 +5,7 @@ choices.
\begin{figure}
\centering
\scalebox{0.6}{%
\begin{pspicture}(-5,-4)(6,6)
\psset{RotX=-23, RotZ=30, PHI=46.5833, THETA=0.3333,
visibility=false, Decran=15,
path=/usr/share/texlive/texmf-dist/tex/generic/pst-geo/data}
% map
\WorldMapThreeD[circles=false, blueEarth=false]
\WorldMapThreeD[circles=false, visibility=true, opacity=0.8]
% s1
\pscircle[linecolor=red, fillcolor=red, fillstyle=solid](-3,5){0.1}
\psline[linecolor=red, linewidth=0.1](0.8,0.8)(-3,5)
\rput[tl](-2.75,5.2){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$s_1$}}
% s2
\pscircle[linecolor=red, fillcolor=red, fillstyle=solid](5.5,5.5){0.1}
\psline[linecolor=red, linewidth=0.1](0.78,0.83)(5.5,5.5)
\rput[tl](5.5,5.3){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$s_2$}}
% s3
\pscircle[linecolor=red, fillcolor=red, fillstyle=solid](5,3){0.1}
\psline[linecolor=red, linewidth=0.1](0.75,0.82)(5,3)
\rput[tl](4.8,2.8){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$s_3$}}
% s4
\pscircle[linecolor=red, fillcolor=red, fillstyle=solid](1.25,5){0.1}
\psline[linecolor=red, linewidth=0.1](0.78,0.82)(1.25,5)
\rput[tl](1.45,5.15){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$s_4$}}
% s5
\pscircle[linecolor=red, fillcolor=red, fillstyle=solid](0.5,4.5){0.1}
\psline[linecolor=red, linestyle=dashed, linewidth=0.1](0.8,0.82)(0.5,4.5)
\rput[tl](-0.1,4.5){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$s_5$}}
% curve for satelite s3
\pscurve[linecolor=red, linestyle=dotted]{->}(5,3)(5.75,3.2)(4,1.5)
% delay and distance for s1
\rput[tl](-4.4,4.3){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$\{\Delta_1, d_1\}$}}
\end{pspicture}}
\includegraphics{images/gps.pdf}
\caption{Trilateration: GPS receiver and satellites.}
\label{fig:globe}
\end{figure}
......
all:
xelatex main.tex
all: images/gps.pdf
pdflatex main.tex
bibtex main
xelatex main.tex
xelatex main.tex
pdflatex main.tex
pdflatex main.tex
rm -f main.aux main.bbl main.blg main.log main.out
gpsfig:
cd images && xelatex gps.tex
rm -f images/gps.aux
rm -f images/gps.log
\documentclass{standalone}
\usepackage{fontspec}
\usepackage{pst-geo}
\usepackage{graphicx}
\begin{document}
\scalebox{0.6}{%
\begin{pspicture}(-5,-4)(6,6)
\psset{RotX=-23, RotZ=30, PHI=46.5833, THETA=0.3333,
visibility=false, Decran=15,
path=/usr/share/texlive/texmf-dist/tex/generic/pst-geo/data}
% map
\WorldMapThreeD[circles=false, blueEarth=false]
\WorldMapThreeD[circles=false, visibility=true, opacity=0.8]
% s1
\pscircle[linecolor=red, fillcolor=red, fillstyle=solid](-3,5){0.1}
\psline[linecolor=red, linewidth=0.1](0.8,0.8)(-3,5)
\rput[tl](-2.75,5.2){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$s_1$}}
% s2
\pscircle[linecolor=red, fillcolor=red, fillstyle=solid](5.5,5.5){0.1}
\psline[linecolor=red, linewidth=0.1](0.78,0.83)(5.5,5.5)
\rput[tl](5.5,5.3){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$s_2$}}
% s3
\pscircle[linecolor=red, fillcolor=red, fillstyle=solid](5,3){0.1}
\psline[linecolor=red, linewidth=0.1](0.75,0.82)(5,3)
\rput[tl](4.8,2.8){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$s_3$}}
% s4
\pscircle[linecolor=red, fillcolor=red, fillstyle=solid](1.25,5){0.1}
\psline[linecolor=red, linewidth=0.1](0.78,0.82)(1.25,5)
\rput[tl](1.45,5.15){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$s_4$}}
% s5
\pscircle[linecolor=red, fillcolor=red, fillstyle=solid](0.5,4.5){0.1}
\psline[linecolor=red, linestyle=dashed, linewidth=0.1](0.8,0.82)(0.5,4.5)
\rput[tl](-0.1,4.5){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$s_5$}}
% curve for satelite s3
\pscurve[linecolor=red, linestyle=dotted]{->}(5,3)(5.75,3.2)(4,1.5)
% delay and distance for s1
\rput[tl](-4.4,4.3){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$\{\Delta_1, d_1\}$}}
\end{pspicture}}
\end{document}
......@@ -26,12 +26,8 @@
\acmPrice{15.00}
\input{sections/00-header}
\usepackage{fontspec}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{pst-geo}
\usepackage{soul}
\usepackage{xcolor}
\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage{amssymb}
......
......@@ -5,39 +5,7 @@ choices.
\begin{figure}
\centering
\scalebox{0.6}{%
\begin{pspicture}(-5,-4)(6,6)
\psset{RotX=-23, RotZ=30, PHI=46.5833, THETA=0.3333,
visibility=false, Decran=15,
path=/usr/share/texlive/texmf-dist/tex/generic/pst-geo/data}
% map
\WorldMapThreeD[circles=false, blueEarth=false]
\WorldMapThreeD[circles=false, visibility=true, opacity=0.8]
% s1
\pscircle[linecolor=red, fillcolor=red, fillstyle=solid](-3,5){0.1}
\psline[linecolor=red, linewidth=0.1](0.8,0.8)(-3,5)
\rput[tl](-2.75,5.2){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$s_1$}}
% s2
\pscircle[linecolor=red, fillcolor=red, fillstyle=solid](5.5,5.5){0.1}
\psline[linecolor=red, linewidth=0.1](0.78,0.83)(5.5,5.5)
\rput[tl](5.5,5.3){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$s_2$}}
% s3
\pscircle[linecolor=red, fillcolor=red, fillstyle=solid](5,3){0.1}
\psline[linecolor=red, linewidth=0.1](0.75,0.82)(5,3)
\rput[tl](4.8,2.8){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$s_3$}}
% s4
\pscircle[linecolor=red, fillcolor=red, fillstyle=solid](1.25,5){0.1}
\psline[linecolor=red, linewidth=0.1](0.78,0.82)(1.25,5)
\rput[tl](1.45,5.15){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$s_4$}}
% s5
\pscircle[linecolor=red, fillcolor=red, fillstyle=solid](0.5,4.5){0.1}
\psline[linecolor=red, linestyle=dashed, linewidth=0.1](0.8,0.82)(0.5,4.5)
\rput[tl](-0.1,4.5){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$s_5$}}
% curve for satelite s3
\pscurve[linecolor=red, linestyle=dotted]{->}(5,3)(5.75,3.2)(4,1.5)
% delay and distance for s1
\rput[tl](-4.4,4.3){\fontsize{16pt}{16pt}\selectfont\textcolor{red}{$\{\Delta_1, d_1\}$}}
\end{pspicture}}
\includegraphics{images/gps.pdf}
\caption{Trilateration: GPS receiver and satellites.}
\label{fig:globe}
\end{figure}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment