0
votes
1answer
101 views

Chart or diagram for this figure

How could I create this table or diagram, I appreciate the help.
5
votes
1answer
134 views

Convert PSTricks to TikZ

I use pstricks for all my graphics. Now I am submitting a paper to a conference which, unfortunately, does not allow to use PostScript. I have to send them tex source, which they compile with ...
0
votes
0answers
76 views

Cartesian Coordinate System In TikZ VS Pstricks

I have been using pstricks to add cartesian coordinates to my exam document class structures for years. But, now I have switched to a Macbook air and I am using Texpad. The newsiest version of Texpad ...
2
votes
1answer
83 views

How to change vertical and horizontal unit based on a fraction of width and height of an image?

I have to overlay some texts on a PDF form. As converting the PDF form to EPS with pdftops produces unsatisfying result, I will not use PSTricks code below. ...
7
votes
2answers
261 views

Why is beamer+pstricks+preview no longer compatible now?

The following code is taken from Gonzalo Medina' answer here (click). At the time he posted the answer the code was compilable. \documentclass{beamer} \usepackage{pstricks-add} ...
3
votes
0answers
121 views

Create violine plots

I use pgfplots for most of my plots. Now I need to add a violin plot. Is this possible with pgfplots or any other package?
2
votes
1answer
97 views

Unwanted empty page in the middle of a chapter

I am having an empty page in the middle of a chapter of my document. The only information that appears is the page number. The pages before and after are filled with text and figures. I have checked ...
2
votes
1answer
62 views

Table Occupies all text area

How can I do this in an easy way using pstricks or tikz , i cant put the text in the right place my MWE \documentclass[a4paper]{article} \usepackage[margin=1.5cm]{geometry} ...
6
votes
1answer
86 views

What causes the red frame not to align with the grid correctly?

What causes the red frame not to align with the grid correctly? \documentclass[tikz,border=12pt]{standalone} \usepackage{filecontents} \begin{filecontents*}{diagram.tex} ...
3
votes
1answer
96 views

Self Intersecting Diagrams, PSTricks

Okay, so I have a self-intersecting curve drawn using \pscurve in PSTricks, and I would like the interestions to look something like -|- as opposed to +. I know it can be done using double lines in ...
6
votes
2answers
202 views

How to conceive a macro for drawing a pie-chart circle of fifths?

I would like to re-write parts of the book mentioned below on historic tuning temperaments, and therefore I need to draw a circle of fifths, represented in the book by hand-drawn schemata like this: ...
16
votes
2answers
444 views

Blend/transparency styles in pstricks and TikZ

As depicted below, Illustrator offers various transparency styles: It is my understanding that, at this point, pstricks and TikZ are both limited to the normal style listed above. Could the other ...
6
votes
5answers
540 views

How to plot a linear function with axes, arrows, and labels?

I have now spend hours by creating this figure - without luck. I have tried different types of tikz, pstricks and multido usepackages. The lines from a to x_2, d to x_1 and p_1 to c, should be ...
1
vote
1answer
99 views

A dotted circle: control size of dots and distance between them

My MWE is: \documentclass{minimal} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} \draw[red,dotted] (0,0) circle (2); \draw[black,thick] (5,0) circle (2); ...
20
votes
6answers
765 views

Generating Random arrows in tikz

I would like to draw this figure : Hence, I resort to TikZ. But, it seems to be very difficult drawing arrows precisely in TikZ with the precise locations (x,y). I have achieved this: Here is the ...
14
votes
2answers
647 views

Color gradient fill between three corners of a triangle

Updates Update1: Tried to implement solution by Harish Kumar (below) Update2: Added a real example of what I would like to get in the end. I have a feeling I tried to leave to many things out. ...
4
votes
3answers
613 views

Curves with Latex

How I can draw curves as : Any help would be appreciated.
5
votes
1answer
76 views

How to make PDF outputs of PSTricks rotatable on the PDF viewer as we can do on Asymptote's ones?

I just played with Asymptote outputs viewed on Adobe Reader and noticed the outputs can be zoomed, rotated, filtered which objects to be viewed, etc, etc. The following screenshot shows the features. ...
17
votes
4answers
937 views

Drawing intersecting 3D surface plots

I'm attempting to draw six semi-transparent intersecting spheres of different colors---two on each axis x, y, z and all joining at the origin---as shown in the figure below. Note how all the spheres ...
1
vote
1answer
114 views

How can I draw one small circle and one big circle in the same system of coordinates?

I want to draw two circles passing through the point M(-1, -4) and tangent to the lines 4x+ 3y = 0 and 3 x + 4 y + 1 = 0. The equation of circles are (x + 1)^2 + (y +2)^2 = 4 and (x +241)^2 + (y + ...
31
votes
6answers
2k views

How to make the length of a car moving on a roller coaster track remain unchanged?

For any arbitrary parametric smooth curve, how can I make the length of a car remain unchanged? \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-plot,pst-node} \pstVerb { ...
5
votes
2answers
142 views

What is the TikZ equivalent for ([offset=2]{A}B)?

Based on the answer given here, ($(A)!1cm!(B)$) in TikZ is equivalent to ([nodesep=1]{B}A) in PSTricks. It is just about the "radial" distance specified by two points. How about the "transverse" ...
1
vote
1answer
121 views

pstricks and tikz packages conflicting with other packages?

Why is it that whenever I add \usepackage{pstricks} or \usepackage{tikz}, I always get the error below? Latex Error: /usr/local/texlive/2013/texmf-dist/tex/latex/xcolor/xcolor.sty:60 TeX ...
7
votes
1answer
116 views

How to write a LaTeX command that could discriminate if it's being called with pdfLaTeX in order to use PSTricks?

I'm writing a class for LaTeX, and I need to make it general. I want to include a simple image, a logo, within the class, which would be inserted into the document as a simple command ...
4
votes
2answers
431 views

How to create this figure?

I have now spend hours by creating this figure - without luck. I have tried different types of tikz, tikzpicture, pstricks and multido usepackage. Can you maybe help me? I would really appreciate ...
10
votes
3answers
522 views

Draw arrow in picture

\documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc}% \usepackage{lmodern} \usepackage[nomarginpar, textwidth = 16cm]{geometry} ...
4
votes
1answer
140 views

Fill opacity problem with pdflatex while upgrading MiKTeX from version 2.7 to 2.9

It's my first post. I solved it when writing this so I send it anyway in case it helps someone. When compiled with pdflatex.exe from MiKTeX 2.7 it works. When compiled with pdflatex.exe from MiKTeX ...
2
votes
2answers
251 views

How can I draw a 3D, three-sided 5-7-9 triangle with TikZ or PSTricks?

I want to draw a triangle with three sides 5, 7, 9 and its incircle in geometry 3D. I used GeospacW. I tried Draw a circle (T) has center origin and has radius r=15/sqrt(11). Take a point A on (T) ...
4
votes
2answers
264 views

Plotting greatest integer function (floor)

How can one plot y=1/floor(1/x) in pstricks? where floor is the greatest integer function. i.e. floor(2.5)=2 and floor(-0.5)=-1. I need to generate something like what I generated in sage: But I ...
2
votes
1answer
301 views

Making animation of a straight line

How can I make an animation of line y=-3 that rotates by angle $\phi$ and the perpendicular distance from origin to this line. I also need to trace the shape that points of the intersection of the ...
1
vote
2answers
188 views

Loading TikZ3+PSTricks at the same time

I am also posting my solution. Please save your time and energy on this Question! I have experienced a strange behavior after upgrading TikZ 2 to TikZ 3 when loading and using the TikZ and ...
5
votes
4answers
290 views

graphe with tikz or pstricks?

I've a second question about TikZ or Pstricks. How can I type the code to obtain like this ? thank you
12
votes
1answer
500 views

How to draw a circular, inclined road in 3D?

I want to draw the road which is similar to the following (but please ignore grass, soil, and the surrounding scenery for the sake of simplicity), to illustrate a physics problem about circular ...
1
vote
0answers
99 views

How to use visualcounters in latex? [closed]

I want to use Progressbar in my LaTeX document. I found some idea from the visualcounter module by Aditya Mahajan, but I don't know how to utilize that one. Because I am new to LaTeX, any one help ...
4
votes
2answers
302 views

TikZ - How to draw the following

Rectangle in TikZ can be easily drawn. But how do I achieve the following using TikZ or pstricks? Here is what I have worked till now: \documentclass{beamer} \usetheme{CambridgeUS} ...
5
votes
2answers
372 views

How to draw big circle (intersection of a plane with a sphere)?

I use Geospacw to draw two big circles but I cannot it using TikZ (or PSTricks). How can I draw it?
7
votes
3answers
226 views

How to automatically draw the images of a point placed between 2 inclined mirrors?

Consider a point X placed between two inclined mirrors as follows. \documentclass[pstricks,border=20pt,12pt]{standalone} \usepackage{pst-eucl} \def\Angle{37}% extreme case in which 360/\Angle-1 is ...
13
votes
7answers
1k views

How to draw this cube with PSTrick or TikZ?

I use GeoGebra to draw a cube. The code in GeoGebra is \documentclass[12pt]{article} \usepackage{pstricks-add} \pagestyle{empty} \begin{document} ...
2
votes
1answer
154 views

LaTeX table creation

I am new to LaTeX and really stuck in creating a table. A table created in Word is attached. Can someone help me create this table in LaTeX as it is? I tried, but couldn't connect the arrows and ...
5
votes
1answer
319 views

Drawing torus points and arches with coordinates read from a file

I have a quite intricate question... I have to plot a torus of radii (r,R) with two set of points of different colour on it its surface. The points' coordinates are in two different files that must be ...
40
votes
9answers
3k views

The Spiral of Roots in TikZ

How can one create a spiral of roots as shown in the diagram below: where one can use a command to draw more parts to the spiral. For example, a command like \sqrtspiral{1}, \sqrtspiral{2}, ...
2
votes
1answer
162 views

high resolution table of numbers

I'd like to design a table of numbers for poster-size printing, say like a multiplication table, so I'm looking for: high resolution, colors, pretty fonts. Does it sound like it could be done in ...
5
votes
1answer
63 views

What makes the looping index in \foreach produce compile-time error?

Consider the following code and error message. \documentclass[pstricks,12pt]{standalone} \usepackage{pst-node} \psset{saveNodeCoors} \degrees[13] \begin{document} \makeatletter ...
7
votes
2answers
468 views

Projection of included 2D graphics to a plane

General purpose I want to project a graphic file from external sources (example.pdf saved on my computer e.g. a chip design) on the bottom of a 3D graphic (which I can draw in LaTeX by using TikZ, ...
30
votes
1answer
601 views

Randomly bouncing balls with constant tails in a spherical constraint

How easy is the following animation made with TikZ, PSTricks, and Asymptote? Use the following as a starting template to save your time. \documentclass[border=12pt]{standalone} \begin{document} . ...
4
votes
1answer
83 views

Is there any multi-purpose package in PGF I can use to simplify the following?

I want to avoid using \usepackage[nomessages]{fp} and \FPeval\height{round(6*sin(pi/3):6)}% \begin{pspicture}(6,\height) just for the sake of getting more compact code, i.e., without using a ...
7
votes
0answers
464 views

best practice to include (standalone precompiled) graphics

General understanding I know that several people have asked about how to include plots and graphics (created by tikz and pstricks) into a latex document. What is the best way to include Matlab ...
4
votes
1answer
189 views

Electron distribution box diagram

Just for sharing. Improvements are welcome. \starttext Electron distribution box diagram \startMPcode picture finalpicture ; finalpicture := nullpicture ; numeric n ; n := 0 ; bboxmargin := 0pt ; ...
8
votes
6answers
1k views

Draw Vertices of Regular Polygon

I am trying to draw just the nodes (no sides) at the vertices of a regular hexagon. This answer should be easily modified to accomplish what I want, but I am such a novice that I have difficulty ...
12
votes
3answers
715 views

Graphing multiple functions on the same graph

I'm new to LaTeX and am attempting to type up some old differential equations notes. The only part I seem to be having trouble with is graphing multiple functions onto a single graph. For example the ...