5
votes
A proper plot of this function with TikZ
Like this:
Code:
\documentclass[margin=3mm]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis lines=middle,
...
2
votes
Accepted
A proper plot of this function with TikZ
A solution with tikz:
Code (modified from the @Henry one):
\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\begin{document}
\begin{tikzpicture}
...
2
votes
Accepted
Trying to plot using tikz
you need to use \tkzFct . This macro takes into account the values of xstep and ystep
\documentclass{scrartcl}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{tkz-fct}
\begin{document}
\...
2
votes
How to assign a single figure-number for a group of plots?
I'm pretty sure that your question is duplicate, but temporary I cant find it ...
You should use only table and remove all subcaption environments. However, you should be aware that after than the ...
2
votes
How to place nodes on a Tikz plot
So I went to the TikZ manual as suggested by @Celdor and I did the following
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw [cyan,line width=1mm] (0,0) .. ...
2
votes
to plot the plane of intersection of the sphere $x^2+y^2+z^2=1$ and the plane $x+z=0$
You can use 3dtools
\documentclass[border=2mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{3dtools}% https://github.com/marmotghost/tikz-3dtools
\begin{document}
\begin{...
2
votes
Coordinates not plotting correctly
It is not recommended to mix pgfplots and pure tikz syntax for drawing lines in diagram.
if for some (unknown) reason need to do this, than drawing by tikz commands should be inside axis environments. ...
1
vote
Tell pgfplots not to try to plot where the function is not defined
The sagetex package gives access to an open source computer algebra system (CAS) called Sage along with the Python programming language. The CAS Sage is similar to Mathematica except it's free. As a ...
1
vote
Tell pgfplots not to try to plot where the function is not defined
This is not a full soution, but an approach to it.
Instead of nesting deg() and rad(), try the r syntax that tells PGF that the value passed to trigonometric functions should be interpreted as radians....
1
vote
A proper plot of this function with TikZ
to my opinion the correct way to draw your diagram is given in the second example with us of the pgfplots package in his second answer
here is some small variation of it, just for exercise (...
1
vote
Accepted
Coordinates not plotting correctly
TikZ uses centimetre as default unit. Pgfplots uses it's own coordinate system to fit your graph in the available space. Both systems are normally not the same.
If you'd like to give tikz coordinates ...
1
vote
How to plot a Hyperbolic paraboloid in a style of the attached figure
One solution would be to split the paraboloid in two, to achieve some sort of layering. I did the same thing with the coordinate axes.
I modified the code according to @hpekristiansen kind remark ...
1
vote
Accepted
Making an axis break
This is how you can do it to line chart.
\documentclass{minimal}
\usepackage{tikz}
\usepackage{pgfplots}
\tikzset{
axis break gap/.initial=0mm
}
\begin{document}
\begin{tikzpicture}
\begin{...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
plot × 1147tikz-pgf × 663
pgfplots × 477
diagrams × 68
graphics × 64
graphs × 51
pstricks × 37
3d × 37
gnuplot × 35
axis × 23
floats × 20
bar-chart × 20
asymptote × 19
color × 18
tikz-styles × 18
tables × 15
pdftex × 15
labels × 15
pgfplotstable × 15
tikz-3dplot × 15
coordinates × 14
matlab × 14
tikz-arrows × 12
legend × 12
wolfram-mathematica × 12