New answers tagged

6 votes
Accepted

Draw several cars with TikZ and and special style arrows

Update I used the tikz ducks library because, as you will see, it has a very picturesque variety of results and commands to obtain them randomly; If you see its documentation you will see all the ...
J Leon V.'s user avatar
  • 11.8k
4 votes

Addplot messes with axis coordinate system?

like this ? Pay attention to axis direction cs \documentclass[]{standalone} \usepackage{tikz,pgfplots} \pgfplotsset{compat=1.18} \begin{document} \begin{tikzpicture} \begin{axis}[unit vector ...
JeT's user avatar
  • 3,365
5 votes
Accepted

Plot is being drawn on layer below gridlines

The key area style sets axis on top to true and then the grid lines are drawn on top of the plot. A solution is to place axis on top=false, after area style,. An alternative for xmajorgrids=true,...
matexmatics's user avatar
  • 4,999
0 votes
Accepted

LaTeX tikz plot command, Missing number, treated as zero. <to be read again>, with complicated function

I don't know what your code is trying to do. The result doesn't seem to correlate with the image you show. However, it is possible to diagnose and correct the cause of your immediate problem i.e. the ...
cfr's user avatar
  • 199k
2 votes

curve of x*e^(1/x) - e^((1-x^2)/x) - x - 1 on [0, +\infty[ tikz

Without knowing the best values to set domain, you can protect yourself from large numbers and discrepancies with restrict y to domain. For example: restrict y to domain=-10:10, replaces all y values ...
jlab's user avatar
  • 2,303
8 votes
Accepted

curve of x*e^(1/x) - e^((1-x^2)/x) - x - 1 on [0, +\infty[ tikz

You get a similar plot if you plot it on a similar domain: \documentclass[border=3mm]{standalone} \usepackage{pgfplots} \usepackage{amsmath} \begin{document} \begin{tikzpicture} \begin{axis}[ ...
samcarter_is_at_topanswers.xyz's user avatar
3 votes
Accepted

Circle with a center mark and legend label in pgfplots

Labels and references with pgfplot need a \addplot command. Simply add tikz path operations after \addplot \addplot [forget plot, blue] (-1,0) circle [radius=1]; \label{l:circle} Full example: \...
jlab's user avatar
  • 2,303
0 votes

Resize LaTeX Histogram

As I understand it you have a problem to visualize too densely data. Here's my analysis: switching from ybars to ycombs (thin bars so to say) didn't change the visual overlap you simply can't tell ...
MS-SPO's user avatar
  • 12k
1 vote
Accepted

Plotting cdf of binomial distribution with pst-func

You are looking for the plot option rightEnd: \psBinomialF[linecolor=red, fillstyle=solid, fillcolor=yellow, barwidth=0.4, opacity=0.5, LineEndColorL=red, rightEnd=5]{\BinomialN}{\Binomialp}
Marijn's user avatar
  • 37.8k
0 votes

Plotting a bimodal distribution with TikZ

I am not sure if you are referring to the cdf or some other visualization of the distribution? Maybe \psBinomialC instead of \psBinomialF is what you want? There are many different options explained ...
Jakob's user avatar
  • 1,003
0 votes

Plotting cdf of a binomial distribution in tikz/pdfplot

With XeLaTeX or LuaLaTeX you can compile (for example in OVerleaf): % Requires XeLaTeX, LuaLaTeX, LaTeX compiler!!!!! % Is not compatible with the pdfLaTeX compiler !!!! \documentclass[11pt]{article} \...
Jakob's user avatar
  • 1,003

Top 50 recent answers are included