Skip to main content

Questions tagged [plot]

{plot} is for questions concerned with plotting data or functions using TeX. For questions specific to the pgfplots package, use the {pgfplots} tag.

88 questions with no upvoted or accepted answers
4 votes
0 answers
309 views

I am trying to draw the Penrose diagram for the motion of a particle in a Schwartzschild background. I was able to draw the diagram thansk to This article by Izaak Neutelings The code is the ...
LolloBoldo's user avatar
4 votes
0 answers
261 views

I want to plot a matrix with pgfplots to match the style of the rest of my LaTeX document. The desired output is something like this plot from Mathematica: But when I try to plot this data with ...
enco909's user avatar
  • 66
4 votes
0 answers
4k views

I am using Knitr on RStudio. <<glmall, include=TRUE, fig.align='center', fig.cap='Diagnostics plots for full-model with GLM (Poission)', fig.show='asis'>>= par(mfrow=c(2,2)) plot(college....
tallharish's user avatar
3 votes
0 answers
2k views

I can produce plots on matplotlib and export them to pgf successfully. But I believe that by first defining a base font size on matplotlib rcParams (11pt for example), and then defining things like ...
likethevegetable's user avatar
3 votes
0 answers
843 views

I am trying to include plots of airfoils in my report and have tried using this method: http://www.texample.net/tikz/examples/airfoil-profiles/ Initially, I had multiple errors and the document ...
FC_Stevens's user avatar
3 votes
0 answers
739 views

I want to create some huge pgfplot with three different axis and a lot of data points. In summary there are 20160 lines of data existent. My problem is: All few hours the values will change ...
Dave's user avatar
  • 3,958
3 votes
0 answers
409 views

I have some plots in my graph and want to mark a special area with a square. Here's what the plot looks like: \begin{tikzpicture} \begin{axis}[axis lines = left, xlabel = {Player 1}, ylabel = {...
Felix Jassler's user avatar
2 votes
0 answers
93 views

I like my bars to appear embossed as shown in Figure. Here's the MWE: \documentclass{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture}{scale=0.3} \begin{axis}[width=12cm,height=...
Ahmed Aafaq's user avatar
2 votes
0 answers
112 views

I'm trying to plot data that ranges from [-1e8,1e8] and I would like to represent it using a symmetric log plot. I've found this solution to my problem but it seems the axes fail as soon as the data ...
herman_m's user avatar
2 votes
0 answers
43 views

I have a plot from my data using tikz, where the data is not equally distanced in y-direction. By using mark repeat={10} I can skip the plotted marker, but the markers are not equally distanced. As ...
Yann's user avatar
  • 21
2 votes
0 answers
240 views

Why this doesn't work? \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{tikz} % package used for the tikz ...
likeAvirgin's user avatar
2 votes
0 answers
67 views

I want to overlay a function on top of a block, as shown in "bounded reciprocal" below. Is there an easy way to do this? Someone had referred me to the approach in my PIctrl shape below but ...
Jason S's user avatar
  • 2,912
2 votes
0 answers
371 views

I'm new to both tikz and pgfplots, and I am having trouble getting an image of the functions f(n) = 2n^2 and g(n) = 50*n*log2(n) on the same plot. I want the domain to go from n=1 to n=1000, and I don'...
user avatar
2 votes
0 answers
291 views

I would like to make a matrix plot with the following script, where all 0 values are displayed in white all other values according to the colormap. Is there a masking feature in pgf plot? Could it be ...
Mirko's user avatar
  • 21
2 votes
0 answers
231 views

In the axis environment of the pgfplots package there is a simple way to add error bars: \documentclass{minimal} \usepackage{filecontents,pgfplots,tikz} \usetikzlibrary{plotmarks} \begin{...
Betohaku's user avatar
  • 1,677

15 30 50 per page
1
2 3 4 5 6