Questions tagged [contour]

This tag is about the "contour" pack­age which gen­er­ates a colored con­tour around given text characters. For contour plots use {diagrams} or the specific package tag.

Filter by
Sorted by
Tagged with
2 votes
1 answer
53 views

How to Outline a Feather (Psvectorian Image)

Consider \documentclass[12pt]{book} \usepackage{pstricks,psvectorian} \RequirePackage[copies]{contour}% \begin{document} \contourlength{1pt} \newcommand*{\outline}[1]{\color{white}\contour{black}{\...
user avatar
2 votes
0 answers
22 views

Cannot Produce Contour Outlining on Pgothic Text

I compile the following code with pdflatex: \documentclass{book} \usepackage{xcolor} \usepackage{pgothic} \usepackage{cabin} \usepackage{pdfrender} \usepackage[outline]{contour} \contourlength{1....
user avatar
2 votes
1 answer
49 views

Draw contour on top of a discrerete heatmap

I have a discrete heatmap, and I would like to draw a contour plot to emphasize, for example, regions where z > 35. Do you have any suggestions on how to achieve this? The code I have for the ...
user avatar
1 vote
0 answers
26 views

PGFPlots washed out contour plots in some PDF viewers (addplot3)

I figured out, that only using Adobe Acrobat Reader I get a proper result for the code below. In other viewers, the result looks washed out, the colorbar has a wrong colorcode and the value of samples ...
user avatar
  • 11
0 votes
1 answer
23 views

Pgfplots contour / axis on top = false

In spite of axis on top = false option, the 0 contour line in the following MWE, which is the x=0 equation line, doesn't appear. Any solution ? \documentclass[12pt]{article} \usepackage{tikz} \...
user avatar
  • 165
0 votes
2 answers
55 views

How to apply contour for all content in the document output?

\documentclass[12pt]{book} \usepackage[letter, total={5in, 10in}]{geometry} \usepackage{amsfonts, amssymb, amsmath, amsthm} \usepackage[T1]{fontenc} \usepackage[outline]{contour} \usepackage{xcolor} ...
user avatar
4 votes
2 answers
152 views

Unwanted contour shift for coloured characters

When I'm adding a contour to my coloured maths I get a shifted halo when a \textcolor{} command is encountered. How can this be fixed? \documentclass[border=2pt]{standalone} \usepackage[dvipsnames]{...
user avatar
  • 1,383
3 votes
3 answers
299 views

Clever Underlining

I'm using ulem package to perform clean underlining as advised here https://alexwlchan.net/2017/10/latex-underlines/ It works like a charm, but the line stays at the same thickness whatever the font ...
user avatar
1 vote
0 answers
41 views

draw paraboloid and contour curve

I want to draw the following graph, especially the contour curve what is black line on the surface of the paraboloid my MWE is as follows \begin{tikzpicture} \begin{axis}[xmin=0, xmax=3, ymin=0, ...
user avatar
  • 33
0 votes
0 answers
50 views

How to use subfig, psfrag, and contour packages with LaTex

I'm trying to combine the aforementioned packages to produce a Figure in LaTex, but it isn't working correctly. The subfig and psfrag packages work correctly and the labels get replaced properly. ...
user avatar
0 votes
0 answers
51 views

How pdfrender package can have the same output like simple contour

I am trying to use simple contour for a text. Unfortunately, as the text is inside an element and multiline, I was forced to use alternatives (see here or here). Using pdfrender package almost works, ...
user avatar
  • 101
1 vote
1 answer
48 views

Easy way to change character line thickness

I am using some characters as reference marks. The ©, ℗ and ® are just what I need. However I need to use a circled dot as well. The circled dot I found, is of a much thinner line. Everything else ...
user avatar
  • 473
1 vote
1 answer
86 views

pgfplots contour lua with data in external file

i am working on a lot of measured data stored in a file, which i want to visualize with a contour plot. There I have coordinates x and y and a value z as function of x and y, which should be used to ...
user avatar
3 votes
3 answers
62 views

problem with contour,sty with XeLaTeX

My codes are follow: \documentclass[]{book} \RequirePackage[cmyk]{xcolor}% \RequirePackage[outline]{contour}% \begin{document} \newcommand*{\outline}[1]{\color{white}\contour{black}{\Huge#1}}% \...
user avatar
  • 11k
0 votes
0 answers
102 views

Contour Plot for least squares problem with discrete topology

Problem There are many helpful examples on creating contour plots in LaTeX using tikz and pgfplot. Yet all the examples so far cover contour plots in the continuum. How would one make a contour plot ...
user avatar
  • 391
2 votes
2 answers
159 views

How can I make math symbols one color and have a different color outline?

When I use something like \[\textcolor{White}{\contour{green}{\alpha}}\] the alpha comes out in green, not white, and has no outline whatsoever. How can I fix this? I want it to be in white with a ...
user avatar
2 votes
0 answers
94 views

Multiple contour plots with different colormaps using pgfplots

Using the beautiful pgfplots system, I would like to create a diagram that contains three contour plots for the same pair of axes, with each plot using a different colormap. The following code works: ...
user avatar
0 votes
1 answer
41 views

pgfplots does not render the plot properly --- strange line pattern appearing

When I run the following code \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=1.8} \begin{document} \begin{tikzpicture} \begin{axis}[colorbar, colorbar style={ ytick={-1,...
user avatar
0 votes
1 answer
178 views

problems with pgfplots contour gnuplot

I tried to plot the contour of a xyz matrix using pgfplots contour gnuplot, but got the error message from the .log data (My data is in the test pic.tex file) Package pgfplots notification 'compat/...
user avatar
  • 2,140
1 vote
1 answer
209 views

Include “contour” package into matlplotlib and set title using it

I transfer the initial post from stackoverflow since one said it is rather a question for Tex exchange (I am going do delete the initial one). Here is this post : In a matplotlib script, I try to ...
user avatar
1 vote
1 answer
327 views

Pgfplots polar contour plot from file table with shading

I want to generate a polar plot with a colorbar quite similar to this one: from this question: Rotating polar contour plot messes with alignment of plot and axis I want to use this file with the ...
user avatar
1 vote
1 answer
86 views

Define an underline with white contour that allows breaklines and hyphenation

I define an underline (based on the following site: https://alexwlchan.net/2017/10/latex-underlines/). This was my initial code: \usepackage{ulem} \renewcommand{\ULdepth}{1.8pt} \contourlength{0.8pt} \...
user avatar
  • 47
1 vote
1 answer
200 views

Contour integral plot

As of now I have the code below (thanks to @AndréC), but I was hoping to also include an additional semi-circle, seen in the hand-drawn image. I am sorry, I am not so good with tikz, yet. Thank you! ...
user avatar
1 vote
1 answer
110 views

How to deform contour in tikz

I am trying to figure out how I can connect the curve along A to K with the top-right-most point. In other words, I want to still have a little more of the circle left on the right piece of the plot; ...
user avatar
1 vote
1 answer
229 views

TikZ: Modify a contour of complex analysis

I would like to modify the black curve in order to include the red dashed line that now is left outside. The arc around the origin should instead be around the red point in the lower-half of the ...
user avatar
  • 11
3 votes
2 answers
950 views

Equating Feynman blob diagrams with Tikz-Feynman

I am trying to use tikz-feynman (on overleaf) to generate some Feynman diagrams. I wish to equate blob diagrams in particular, and I managed to get something working, but it doesn't look presentable ...
user avatar
1 vote
1 answer
193 views

How can I draw gradient arrows on iso-contour

Using pgfplots I draw the isocontour of a function f(x,y): lines such as f(x,y)=C with C a chosen number. See below example with: \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=...
user avatar
3 votes
0 answers
255 views

PDF version <1.7>, but at most version <1.5> allowed

I used a C++ function my teacher gave us to create some ppm files, which I then converted to the eps format using an online resource for use in my report. However, these images are causing problems. ...
user avatar
  • 43
5 votes
2 answers
395 views

Rotating polar contour plot messes with alignment of plot and axis

I am generating polar contour plots. In my industry, it is convention to put 0 degrees on the bottom rather than the right. My initial attempt was to use rotate=-90 within the polaraxis environment, ...
user avatar
2 votes
0 answers
198 views

Filled contour with Matlab data, pgfplots

I'm using contour prepared format=matlab to plot a contour, as sugested in pgfplots manual, but I'm not able to combine it with the contour filled option. I've modified the C data from [C,h]=contourf ...
user avatar
  • 21
0 votes
0 answers
25 views

Counterclockwise arc integral Latex Symbol [duplicate]

Looking for the code for a Latex integral symbol with a half circle, concave cave down, and an arrow pointing in the clockwise direction. Does such a symbol exist?
user avatar
  • 145
5 votes
2 answers
396 views

How do I create a "flashcards" document with a crosshatch background pattern to reduce transverse legibility?

I've been using flashcards a lot, via the "flashcards" package of Alexander Budge. Usually I print them on card stock but sometimes this can be inconvenient, for example most home-office duplex ...
user avatar
1 vote
1 answer
112 views

Projecting contour on the floor in a 3d plot

The contour is drawn on the top surface, I'm trying to plot the contour on the floor (A-B). \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{width=10cm, compat=1.9} \begin{document} \...
user avatar
2 votes
1 answer
419 views

TikZ: Define a style of node that puts halo/contour around text [duplicate]

How put halo around text using the contour package as suggested in this answer in many nodes by defining a style? MWE: \documentclass[tikz]{standalone} \usepackage[outline]{contour} %halo around ...
user avatar
  • 1,497
0 votes
0 answers
267 views

plot a data file as a contour plot in a specific region

I have a set of data and want to be plotted in a specific region. I draw the region using tikz and when I want to add the data as a contour plot in the region, I don't get the results. How can I Plot ...
user avatar
  • 711
2 votes
2 answers
2k views

Filled contour plot from data set

I want to create a filled contour plot in pgfplot from a dataset mydata.dat I get a ugly picture like this: The code that I use is \documentclass{standalone} \usepackage{pgfplots} \...
user avatar
  • 113
0 votes
2 answers
999 views

Problem with contour plots

Im trying to run the following code \documentclass[border=10pt]{standalone} \usepackage{pgfplots} \pgfplotsset{width = 7cm, compat = 1.8} \begin{document} \begin{tikzpicture} \begin{axis}[domain = -2:...
user avatar
  • 1,994
8 votes
1 answer
212 views

Unwanted shifts of contours of characters

In this answer and this answer, an nice method of clipping TikZ stuff against the contours of some characters have been proposed: use the character for tikzfadingfrompicture and then use that fading ...
user avatar
3 votes
2 answers
833 views

Contour text in xelatex

I have this MWE which work fine with pdflatex \documentclass[border=3mm]{standalone} \usepackage{xcolor} \usepackage[outline]{contour} \contourlength{1.2pt} \pagecolor{blue!30} \begin{document} \...
user avatar
  • 16k
4 votes
1 answer
367 views

My line won't break because of package contour

I would really appreciate if someone could help me with this. I don't know how to prevent the second phrase from not breaking at the end of the line. Surely, I can break the phrase on my own (third ...
user avatar
2 votes
2 answers
963 views

Contour AND drop shadow for text

I have this code: \documentclass[]{memoir} \usepackage{xcolor} \usepackage{graphicx} \usepackage{contour} \contourlength{.4pt} \usepackage{shadowtext} \usepackage{contour} \begin{document} \...
user avatar
6 votes
1 answer
913 views

Why can't contour text along curve path?

I want to use a font with a white contour but doesn't seems to work. \usepackage{color} \usepackage[outline]{contour} \usepackage{tikz} \usetikzlibrary{decorations.text} \begin{document} \begin{...
user avatar
  • 61
6 votes
2 answers
3k views

Understanding what contour package does

In contour package, the macro \con@put is defined as: \newcommand*\con@put[3]{% \rlap{\hskip#1\raisebox{#2}[0pt]{#3}}% } But if one changes that \rlap to \llap, then you no longer get contour. For ...
user avatar