# Tagged Questions

46 views

### How to get fractional labels with psaxes?

The objective is to get fractional labels (not in decimal) for both vertical and horizontal axes. In my experience, non-trigonometric labels are written in decimals and trigonometric labels can be ...
93 views

### How attach \circ to each horizontal labels representing angles?

The objective is to attach \circ to each horizontal labels representing angles in degrees. How to do so? I cannot find the solution in the pst-plot manual. ...
45 views

### How to use \psaxes with trigonometric labels of even multiples of π/3?

Constraints I only want to use \psaxes rather than multiple calls of \psxTick, \rput, \uput. I want to have trigonometric labels with even multiple of π/3. My attempts As usual, we can have ...
54 views

### What causes \psxTick to no longer work? [closed]

I am using the latest pst-plot. When compiling the following, I got some errors as follows. MWE \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-plot} \psset { ...
76 views

### How to make the main ticks of \psgraph get aligned with the main grids of \psgrid?

How to make the main ticks of \psgraph get aligned with the main grids of \psgrid? \documentclass[pstricks,border=0bp,12pt,dvipsnames]{standalone} \usepackage{pst-plot} \usepackage[nomessages]{fp} ...
103 views

### How can I use \psgraph with polar axes?

With pspicture \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-plot} \psset{axesstyle=polar,plotpoints=100} \begin{document} \begin{pspicture}(-4,-4)(4,4) ...
55 views

### pst-plots not displaying negative exponents

I am trying to graph a piecewise function, with one component using negative exponents. However, pst-plots doesn't seem to understand the negative exponent. I've tried expressing it a few different ...
70 views

### Decimal separator in \psaxes of pstricks-add

When I use the comma option of the command \psaxes, only the y-coordinates are displayed with a comma while the x-coordinates are still displayed with a dot. My figure is included in a somewhat big ...
31 views

### psgraph scale description doesn't work

I've got a small problem. I don't can set the right scale description. Please, have a look at this code: \def\data1{ % x (degree) % y1 % y2 0 8188 7538 15 9143 8464 30 9605 9075 45 9564 9277 60 ...
41 views

### Invert Axis directions

I'm trying to invert the direction of the y-axis. I want to have 2 y-axis : the first going up (as usual) and the second, starting from 0 and going down (to 5)... Here's what I do : ...
168 views

### Problem Scaling Logarithmic function PSTricks

I'm trying to plot a function, but with the x-axis logarithmic. I use PSTricks and the package pstricks-addwith the algebraic option, to write my function litterally. My function to be plotted is : ...
61 views

### listplot and (0,0)

Look at the following minimal working example. I cannot understand, why the first line of listplot is plotted from (0,0) to the first data of the input file. I am compiling with % converting with ...
29 views

### Psplot position on page

How can i move \psplot on custom position without pstpicture? \psset{yunit=28pt,xunit=28pt} \psplot[algebraic=true,linewidth=1pt,plotpoints=500]{0}{4.7}{(-x/5)*cos(4*x)} ...
64 views

### A little problem with pst-plot [duplicate]

I am getting error with this code: \documentclass[12pt]{article} \usepackage{ucs} \usepackage[utf8x]{inputenc} \usepackage[ukrainian]{babel} \usepackage{fontenc} \usepackage{inputenc} ...
47 views

### I am using the package ps-plot and a file that used to compile no longer compiles

I am using the package ps-plot and a file that used to compile no longer compiles. The error I get says No room for a new \dimen \ch@ck …\else \ermessage {No room for a new #3}\fi Please help! I need ...
93 views

### How to use PostScript for to plot the sum of cos(n*x) for n=0 to n=100?

I want to plot the function f(x) which is the sum of cos(n*x) for n=0 to n=100. The domain is from 0 to 2π. \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-plot} \begin{document} ...
73 views

### Removing unwanted lines and iterative plot

I am trying to plot a couple of streamlines over a circle, defined as x^2 + y^2 - 4, so the radius is 2. I am trying plot using a function, specifically using PSTricks. However, I keep getting extra ...
58 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 ...
176 views

### How to change the label color of \psaxes?

\documentclass[pstricks,border=12pt,12pt]{standalone} \usepackage{pst-plot} \begin{document} \begin{pspicture}(-5,-1)(5.5,5.5) ...
145 views

### Plotting graph and data with PSTricks: Wrong scaling

Consider the following code: \documentclass{article} \usepackage{pst-plot} \begin{document} % options \psset{ xunit = 5, yunit = 50 } % constants. \def\masse{0.183276667} % kg ...
332 views

### Plot functions and data together using PSTricks

I would like to create the following graph using PSTricks: The data, which can be downloaded from http://gupl.dk/705644/, should be plotted together with the three graphs. I have managed to plot ...
130 views

### How can I get correct picture?

I used Geogebra to draw the graph of the function $y = 2x^2 - 4x$. This is my code \documentclass[10pt]{article} \usepackage{pstricks-add} \pagestyle{empty} \begin{document} ...
203 views

### Wrong axes in PSTricks figure using \psaxes

Consider the following example: \documentclass{article} \usepackage{pstricks-add} \begin{document} \begin{figure} \centering \begin{pspicture}(-0.8,-0.8)(6.3,6.3) \psaxes[ dx = 1.25, ...
2k 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 ...
429 views

### Are there any other methods left to create a spiral of equidistant segments?

I want to create a spiral that is composed of equidistant segments as shown in the following figure. I tried to draw it with various methods. The colors are used to distinguish each method from the ...
118 views

### How to buffer the extreme value of f(x) to draw a line representing a range of f(x)?

Please consider the following animation. \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-plot} \def\f{x^2-x-6} \psset{unit=3,algebraic} \def\Atom#1{% ...
146 views

### How to change \psaxes angle to match with data?

I'm able to draw radar chart using tex code mentioned below: \documentclass[landscape,a3paper,11pt]{article} \usepackage{pstricks-add} \usepackage{pgfplots, pgfplotstable} \begin{document} ...
106 views

### What is the correct RPN expression of a piecewise-defined function passed to \psplot?

My objective is to pass a piecewise-defined function in RPN to \psplot. The complete code is given as follows. The function is sin x for x<0 and cos x for other x. ...
69 views

### How to change label numbers : polarplots

As per answer received in previous post, i'm able to draw graph mentioned below using tex file : \documentclass[11pt,a4paper]{article} \addtolength{\textheight}{1.1cm} ...
161 views

### Getting “Dimension too large” using psgraph and listplot

I am trying to setup a chart. Sometimes the y-Axis Value range gets a little narrow. And in one of those cases I ran into the infamous "Dimension too large" error as seen below. How can I circumvent ...
48 views

### Adding buffer to 1D coordinate

I have the following MWE \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-node, pst-plot} \psset{unit=0.1cm} \begin{document} \begin{pspicture}[showgrid=false](-3.0, -25)(110, ...
107 views

### making an inset with PSTricks

I have a main coordinate system, and inside this I would like to plot some data in an inset. Here is my MWE: \documentclass[pstricks,border=16pt]{standalone} \usepackage{pst-node, pst-coil, pst-plot} ...
71 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 ...
216 views

### Redefining axes label in pst-plot

I am trying to redefine the labels for x-axis in a pst-plot diagram by putting \makeatletter \def\ps@@@hlabel#1{\small(#1)} \makeatother in the preamble (see top of page 25 in the manual) but then ...
58 views

### Missing data points in PSTricks plot

Consider the following example: \documentclass{article} \usepackage{pst-plot} \begin{document} \psset{xunit=0.1,yunit=0.002} ...
224 views

### Grid and tick marks in the same PSTricks picture

Consider the following example: \documentclass{article} \usepackage{pst-plot} \begin{document} \psset{ xunit=0.05, yunit=0.003, algebraic } \begin{pspicture}(-17,-140)(213,2540) % Axes ...
74 views

### Wrong x-axis with pst-plot

Consider the following example: \documentclass{article} \usepackage{pst-coil,pst-plot} \def\tilskud#1#2{% \psline[linewidth=1.5pt,linecolor=red]% (!#1 1986 sub 0)% (!#1 1986 sub #2 8 sub 2 ...
42 views

### How to use \Pnodecount when there are more than one \curvepnodes invocations?

Assume that there are 2 \curvepnodes macros invoked as follows. \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-node,pst-plot} \begin{document} ...
76 views

### I get a bad result when creating my first simple image with PSTricks [duplicate]

I get a bad result when creating my first simple image with PSTricks. I get: 0 Errors, 2 Warnings but... bad results. What am I doing wrong? My files can be downloaded at ...
348 views

### How to set up psgraph to get the same output produced by pspicture plus psaxes?

In order to get a more balanced diagram (of a certain specified metric size, width times height), I usually also specify some offsets or adjustment values around the canvas (aka picture) and axes as ...
310 views

### When should I use \psgraph instead of \pspicture plus \psaxes?

I am new to PSTricks and want to plot some functions. The documentation of pst-plot explains (but not detailed enough) both \psgraph environment and the combination of \pspicture and \psaxes. The ...
344 views

### Custom style for \listplot or \dataplot

Is it possible to make custom style for \listplot and friends? By default they support only plotstyle=curve, line, bezier, and I need to use bspline from pst-bspline package. ...
246 views

### pslegend bounding box odd while using Cirkuit

This question is regarding pst-plot and more specifically \pslegend. The code below produces the two following plots: One of these figures is generated without the \pslegend and it appears to have ...
289 views

### Differing left and right axis labels in psplot

This question is related to psgraph with y-axis on left and right of graph and axis labels but can stand alone, as it is really about loops and variables. I'm really sad that I have to ask this ...