Questions tagged [pst-plot]

{pst-plot} is about a PSTricks package addressing issues related to a high-level interface for making {plots}.

Filter by
Sorted by
Tagged with
56 votes
11 answers
6k views

How can I define a mathematical function as a LaTeX macro?

I am attempting to create a usable function within LaTeX such that its inputs are transformed mathematically. However, I cannot find any documentation that can perform such mathematical function ...
nderjung's user avatar
  • 727
1 vote
1 answer
547 views

How to plot cumulative frequency from a raw data file?

I have a raw data file that is simulated as follows. \begin{filecontents*}{raw.data} 0-2 3 2-4 4 4-6 8 6-8 20 8-10 20 10-12 15 12-14 14 14-16 ...
Display Name's user avatar
10 votes
1 answer
2k views

Phase Plane Plot using pst-ode

I am trying to incorporate the solution to the nonlinear differential equations x' = x + y + x^2 + y^2 y' = x - y - x^2 + y^2 The solution to these nonlinear differential equations were found with a ...
Joe's user avatar
  • 9,080
3 votes
1 answer
1k views

psgraph with y-axis on left and right of graph and axis labels

I'm attempting to plot two quantities on one graph each with their own vertical axis. I've got as far as the MWE below but am stuck on two problems. Can I make the right hand axis have the same line ...
James Green's user avatar
3 votes
1 answer
396 views

Plot differential equation trajectories of a 3-system

I was reading about drawing differential equation trajectories with latex, but I wonder... is there a way to graph this? Consider the system x'=-y+xz^2 y'=x+yz^2 z'=-z(x^2+y^2) The following image I ...
Zaragosa's user avatar
  • 599
3 votes
4 answers
297 views

Plotting of functions Using PSTricks

I am trying to plot the graphs using PSTricks. I am using Miktex+Texmaker with the configurations-LeTeX+dvips+ps2pdf+ View PDF. have the following latex commands/codes: \documentclass[11pt]{article} \...
gete umbrey's user avatar
1 vote
0 answers
71 views

Plotting a function with an argument in degrees

I want to plot a function. The function is, F is proportional to x/cos(x). Here x is rotation in degree and F is the force. I have to plot the graph where the x axis will be from 0 to 70 degree and ...
Asif Hossain's user avatar
1 vote
1 answer
218 views

TeXLive 2019 Debian: Pst-plots wrong axes label positioning

The following code produces the attached image: the x and y labels are put exactly at the centre of the axes. I can reproduce the error using TeXmaker 5.0.3 and running xelatex on my terminal; I run ...
mathbekunkus's user avatar
  • 1,389
5 votes
2 answers
285 views

Plotting list of points while ignoring missing or infinite values

My question is closely related to this one, which has not been answered yet and might get more attention in this more general formulation. Suppose that a bunch of (abscissa, ordinate) points contains ...
Hugo Raguet's user avatar
4 votes
2 answers
239 views

pst-plot: x-y-data from different files

How do I plot with pst-plot when the x- and y- data are stored in different files? \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage{pst-plot} \usepackage{auto-pst-pdf} \begin{...
DaPhil's user avatar
  • 3,365
4 votes
1 answer
141 views

How do I ignore lines to points with y=0 using pst-plot and a logarithmic y-scale?

I am using pst-plot to visualize data sets in linear x and logarithmic y scale. The data set should be plotted by connecting all points with a solid line style. This all works fine by using \...
TriSSSe's user avatar
  • 449
3 votes
1 answer
569 views

Labels with \psplot

Consider the following example: \documentclass{article} \usepackage{pst-plot} \begin{document} \begin{figure} \def\dx{2.5} \def\dy{1} \makeatletter \renewcommand*\pst@@@hlabel[1]{$\frac{1}{2}U_{#...
Svend Tveskæg's user avatar
3 votes
2 answers
327 views

pst-plot graph offset on page when graph has non-zero origin

This question relates to the use of pst-plot with datasets that have x axis values starting from a positive number for example x = 0.5 -> 0.8. In the case below, on two separate computers both ...
James E Green's user avatar
1 vote
1 answer
359 views

How to make a radian argument still get interpreted in radian when working with \psplot in PostScript form?

When using \psplot in PS form (or algebraic=false) the interval must be specified in degrees. However, sometimes, I need algebraic=false but interval is given in radian. Is it possible to achieve this ...
kiss my armpit's user avatar