# 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)/(...

### 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
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[...
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} \...
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]{...

### 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) ...
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,...
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,...

### Drawing half a parabola using pstricks in LaTeX

Here is how to do it easily with pst-plot. You just have to plot the function x² twice, once with a solid line, one with a dashed line. Note it can perfectly be compiled with pdflatex if you load auto-...

### 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} \...
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,...
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)(-...

### 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[...

### 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] (...