06/21/2020 I have two others question:
In every graph i would add the "0" close the point (0;0). How can i fix it?
In the last graph in the x axis the distance between 0 and 50 it's different between the distance from 50 to 100, 100 to 150 excetera...how can i fix it? i would like that those distance (showed by red and blu lines) should be equal.
Thanks for your help.
I have to do the following graphs. my problem is that the x axis y axis have different scales. how can i fix the graphs?
This is my code:
graph 1:
\documentclass[border=5mm]{standalone}
\usepackage{tkz-euclide}
\usetkzobj{all}
\usepackage[utf8x]{inputenc}
\usepackage{libertine}
\begin{document} \begin{tikzpicture}[every label/.append style={font=\Large}] % \tkzAxeXY uses numprint for number printing % this macro turns on explicit plus signs \npaddplus
\tkzInit[xmin=0,ymin=0,xmax=6,ymax=5]
\tkzGrid % moved before \tkzAxeXY
\tkzAxeX[
label=\hspace{4mm}{\Large $ \qquad x \left[\text{l} \right] $},
very thick, % increase width of axes lines
label options={font=\large}, % increase font size
orig=false % don't print zeros
]
\tkzAxeY[
label=\raisebox{4mm}{\Large $P(x) \left[ \textsc{\$} \right]$},
very thick, % increase width of axes lines
label options={font=\large,}, % increase font size
orig=false % don't print zeros
]
% add zero label manually
\node [below left=3pt,fill=white,font=\large] {$0$};
\end{tikzpicture}
\end{document}
graph 2:
\documentclass[border=5mm]{standalone}
\usepackage{tkz-euclide}
\usetkzobj{all}
\usepackage[utf8x]{inputenc}
\usepackage{libertine}
\begin{document}
\begin{tikzpicture}[every label/.append style={font=\Large}]
% \tkzAxeXY uses numprint for number printing
% this macro turns on explicit plus signs
\npaddplus
\tkzInit[xmin=0,ymin=-3,xmax=8,ymax=7]
\tkzGrid % moved before \tkzAxeXY
\tkzAxeX[
label=\hspace{4mm}{\Large $ \qquad x \left[\text{l} \right] $},
very thick, % increase width of axes lines
label options={font=\large}, % increase font size
orig=false % don't print zeros
]
\tkzAxeY[
label=\raisebox{4mm}{\Large $R(x) \, , C(x) \\ \left[ \textsc{\$} \right]$ \\ },
very thick, % increase width of axes lines
label options={font=\large,}, % increase font size
orig=false % don't print zeros
]
% add zero label manually
\node [below left=3pt,fill=white,font=\large] {$0$};
\end{tikzpicture}
\end{document}