Graphics, Figures & TablesHelp to correct my graph

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
dasag
Posts: 30
Joined: Wed Dec 10, 2014 3:43 pm

Help to correct my graph

Post by dasag »

edit legend, also all parametrs my graph under my picture, I want when generate my latex code will be same as picture.
Dear Stefan I know You can help
This post also my: http://tex.stackexchange.com/questions/ ... 414_220939

Code: Select all

Code, edit and compile here:
\documentclass{article}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\usepackage{caption} % <----
\captionsetup{font = small} % <----
\usepackage[active,floats,tightpage]{preview}% <---
\setlength\PreviewBorder{1em}
\begin{document}
%---------------------------------------------------------------%
\begin{figure} % <---
\centering % <---
\begin{tikzpicture}
%%%% f1
\begin{axis}[scale only axis,
xlabel=Time,
xmin=0, xmax=168,
ylabel={log(Cfu/cm$^{2}$)},
axis y line*=left,
ymin=0, ymax=10,
legend style={at={(0.48,-0.15)}, % <---
anchor=north east}] % <---
\addplot [black, fill=white, mark=square*]
table[row sep=crcr]{
0 9\\
4 9.1\\
8 9.8\\
12 9.8\\
24 9.162\\
48 9\\
72 9.1\\
168 9.8\\};
\addplot [black, fill=white, mark=*]
table[row sep=crcr]{
0 9.2\\
4 8.1\\
8 8.8\\
12 8.8\\
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Attachments
wJp8c.jpg
wJp8c.jpg (102.09 KiB) Viewed 3166 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply