Graphics, Figures & Tables ⇒ Descriptive Statistics
Descriptive Statistics
i don't know how to make these in latex so i need help.
can anybody explain for me how i do it
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Descriptive Statistics
[1] Descriptive statistics — Wikipedia, the free encyclopedia
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Descriptive Statistics
it's just that i can't find any tutorial or guide that shows how you make descriptive statistics in Latex i mean the commands for it, im pretty new and i need it for an exercise i got from school to do over summer.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Descriptive Statistics
I'm afraid that I still can't follow you. Commands for what? Some kind of operations? As far as I understand that, it is only about tables and figures which serve for clear depiction of data. If possible, give a visual example of what you want to achieve.jafarHH wrote:[…] it's just that i can't find any tutorial or guide that shows how you make descriptive statistics in Latex i mean the commands for it, […]
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Descriptive Statistics
and BTW how do you insert images?
- Attachments
-
- piechart3D.jpg (25.77 KiB) Viewed 5681 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Descriptive Statistics
Such pie charts can be done with package like pgf/tikZ or PSTricks [1,2]. For a 3D representation it will get a little bit more complicated.jafarHH wrote:i want to be able to do something like this. […]
External image files are inserted by the graphicx package.jafarHH wrote:[…] and BTW how do you insert images?
[1] TikZ examples tag: Charts
[2] PSTricks/Examples/Charts/chart
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Descriptive Statistics
one last question how do you do plots,
my dad who is a teacher in the university is using something called matlab but im just in college so i wonder if you could do it in latex.
thanks in advance,
hope i don't get too annoying.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Descriptive Statistics
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Descriptive Statistics
For example, to make a 3D pie chart in R exported to TikZ format, you need the tikzDevice and plotrix packages installed in R, then do this in R:
Code: Select all
library(plotrix)
require(tikzDevice)
tikz('pie3D.tex',standAlone=FALSE,width=5,height=5)
counts <- c(20,29,13,22,16)
types <- c("A","B","C","D","E")
lbls <- paste(types,counts,sep=": ")
lbls <- paste(lbls,"\\%",sep="")
pie3D(counts,labels=lbls,main="Answers for $\\int_1^2 \\frac{dx}{x}$")
dev.off()
Code: Select all
\documentclass{article}
\usepackage{tikz}
\begin{document}
Here is a pie chart created by R:
\begin{center}
\input{pie3D}
\end{center}
\end{document}