New answers tagged

1 vote
Accepted

Drawing 2d and 3d vectors using lua or luamplib in LaTeX

There is no "built in" support for 3D coordinates in "plain" Metapost or in the "metafun" format, but you can program it to do more or less anything. If you want a simple ...
user avatar
  • 36.1k
1 vote
Accepted

How do I plot the solutions of an equation of a 3D Plot?

\documentclass[tikz, border=1cm]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.18} \begin{document} \begin{tikzpicture} \begin{axis}[view={10}{45}, zmin=0] \addplot3 [ domain=0:10, domain y=...
user avatar
3 votes
Accepted

Plot graph with labels

This is a long comment with my suggestion of using Asymptote (can be imbbed into LaTeX). For the first figure, there is a lack of information of the function P(t). What is the analytic formula of it? ...
user avatar
3 votes
Accepted

How to plot this modified Bessel function?

The computer algebra system (CAS), Sage, knows about Bessel functions and, through the sagetex package it can calculate the points that LaTeX needs to plot with the tikz package. I don't have ...
user avatar
  • 11.4k
1 vote
Accepted

autoregressive neural network with tikz

Rather than a complete solution, please find some debugging-analysis of your code, and some observations. I added the arrows.meta library, so the arrow tips will turn out a bit better. Marked below as ...
user avatar
  • 1,735
1 vote
Accepted

how do use multido to plot in pspicture

\documentclass{exam} \usepackage{multido} \usepackage{pst-all} \begin{document} \psset{xunit=2cm,yunit=1cm} \begin{pspicture}(-0.4,-1)(6,7) \def\f(#1){(-0.8*(#1)^2+4*(#1)) AlgParser cvx exec} \def\...
user avatar
  • 12.9k
2 votes

how do use multido to plot in pspicture

I worked it out. Thx. \documentclass{exam} \usepackage{multido} \usepackage{pst-all} \begin{document} \psset{xunit=2cm,yunit=1cm} \begin{pspicture}(-0.4,-1)(6,7) \def\f(#1){(-0.8*(#1)^2+4*(#1)) ...
user avatar
1 vote
Accepted

How to define coordinates based on function in pstricks

Use the "!" notation for PS code as node coordinates. PSTricks' AlgParser converts functions from infix notation to PostScript code. \documentclass[pstricks]{standalone} \usepackage{pst-all}...
user avatar
  • 51.1k

Top 50 recent answers are included