# Tag Info

Accepted

### Help! How to draw the plot of y=(ax+b)/(cx+d) and give an example!

\documentclass{article} \usepackage{pgfplots} \begin{document} \begin{center} \begin{tikzpicture}[scale=2] \begin{axis}[axis lines=middle] \addplot[smooth,domain=-4:-8/11,purple,very thick] {(x-2)/(...
• 13.7k

### Problem with pstricks in texlive 2021

Your example compiles fine with the following command in TeX Live 2021 xelatex -output-driver="xdvipdfmx -i dvipdfmx-unsafe.cfg -q -E" example
• 8,002
Accepted

### Phase Plane Plot using pst-ode

The right-hand side of the given system of ODEs dx/dt = x + y + x^2 + y^2 dy/dt = x − y − x^2 + y^2 translates into algebraic notation, used by \pstODEsolve as its last argument, as \def\odeRHS{ x[...
• 55.4k
Accepted

### How to write Taylor's series of sinx in PSTricks?

I leave the simple color setting to you. It is much more easier to plot the function in pure PostScript code. Building a sum is then very easy: \documentclass[pstricks,border=12pt]{standalone} \...
• 17.4k
Accepted

### magnetic field with 2 coils

Something like this? It's made in 3d, with a macro for the coils, and it needs layers to fix the visibility and a couple of tikz styles (arrows, and borders in some lines). \documentclass[border=2mm]{...
• 28.6k

### Help! How to draw the plot of y=(ax+b)/(cx+d) and give an example!

A PSTricks answer for the PSTricks question. \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-plot} \def\f{(x-2)/(2*x+1)} \begin{document} \begin{pspicture}[algebraic](-4,-4)(6,5.5) ...
• 47.2k
Accepted

### How to remove the origin label?

Set the showorigin key to false: \documentclass[12pt,pstricks,border=5pt]{standalone} \usepackage{pst-plot} \begin{document} \begin{pspicture}(-7,-1.5)(7,1.5) \psaxes[Dx=90,dx=\psPiH,xunit=\psPi,...
• 71.3k
Accepted

### Plot differential equation trajectories of a 3-system

ODEs can be numerically solved with package pst-ode (RKF45 method). The given equation is solved separately for the lower and for the upper half-spaces using initial conditions (1e-9, 0, -1) and (1e-9,...
• 55.4k

### How to rename \pi as another value only for y axis without affecting \pi used in x axis?

I don't think there is (that is, I didn't find) a built-in way to do that. With etoolbox you can patch the code for the x and y labels to add arbitrary definitions: \usepackage{etoolbox} \...
• 71.3k

### Plotting of functions Using PSTricks

The option algebraic can be used to write normal expression. The option plotpoint can be used for better precision. ATAN is the name of the function in radian \documentclass[11pt]{article} \...
• 625
Accepted

### Plotting a rectangular waveform with LaTeX

A PSTricks solution just for comparison purpose. \documentclass[pstricks,border=12pt,12pt]{standalone} \usepackage{pst-plot} \begin{document} \begin{pspicture}(-1,-1)(11.5,5.5) \psaxes[ticks=x,...
• 47.2k
Accepted

### Last axis label is missing

If you slightly increase the maximum value of the y coordinate in \psaxes, it's OK. Maybe this comes from a rounding error. \psaxes[showorigin=true,xAxis=true,Dy=10,dy=25.6,Dx=32,Ox=-128](-128,-128)(-...
• 273k

### How to raster area bounded by two functions?

Generic Template Proposed features: functions are defined globally so you can change easily. intersection points are calculated at "runtime" as opposed to statically hard coded. \documentclass[...
• 47.2k

### Plotting a rectangular waveform with LaTeX

A simple approach using TikZ. \documentclass[border=3.14mm]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \def\x{1} % replace 1 with desired value here \draw[-latex] (...
• 7,962
Accepted

### What is the difference between plotstyle=curve and plotpoints=1000?

The best way to explain is showing the animations, right? With curve plotstyle It needs at least 3 points. When N=2 there is no graph. \documentclass[12pt,pstricks]{standalone} \usepackage{pst-plot}...
• 47.2k