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
1 vote
0 answers
28 views

how to see background image through contour outline

I am trying to make a book cover with the title a contour outline over an image, where you can see the image through the letters. Essentially, I would like the color of the fill (textcolor) to be &...
SSL's user avatar
  • 11
0 votes
1 answer
96 views

Contour drawing in TikZ

I'm trying to draw the following image in LateX, but some parts are missing. I'm not able to add arrows on the arc and I don't know how to add 1/4 at the center of the circle. The code that ...
elopt's user avatar
  • 47
1 vote
0 answers
40 views

How do I draw the integration path in the complex plane in the case with two branch cuts? [duplicate]

This is the picture of a graph I would like to plot. This is what I have tried to do, what is missing is how to align all of the points properly so that it looks nice. \documentclass{article} \...
Giorgio Li's user avatar
2 votes
3 answers
83 views

Letting drawings ignore a contour without drawing over the label

I used the contour package to label an edge. I wish for other edges, to not be interrupted by the contour around the label. This can be achieved by just drawing those edges after the labelled one. But ...
Trailblazer's user avatar
1 vote
1 answer
70 views

Color flashcards with flashcards document class

I would like to specify the background (or border) color of a flashcard with the "flashcard" document class, how can I do that? Here a minimal exemple: \documentclass[testpage,grid]{...
Alexandre Fafin's user avatar
0 votes
0 answers
36 views

In Pgfplots, 'contour prepared' is not showing contour lines

I'm trying to plot a 2D contour using pfgplot. The way of contour lines executions is inappropriate. I need to plot black/white smooth contour for 10 levels with self-labeled. Please help me with this ...
Thirumoorthy's user avatar
0 votes
0 answers
44 views

How to underline text from a macro when using Alex Chan's implementation of 'a really nice underline'

Following David Carlisle's answer in How to underline text from a macro including a line break?, I am attempting to adapt David Carlisle's use of \expandafter to allow linebreaks (when underlining ...
RosesBouquet's user avatar
0 votes
0 answers
24 views

Adding contour outline to whole document?

My document has background pictures on every page. Thus, in some cases the text is quite hard or unpleasent to read due to similarity of font color and background color. I´d like to know if there is ...
Benjamin's user avatar
1 vote
1 answer
92 views

How to use contour in math mode for italic symbols?

I'm trying to make bold symbols bolder in math mode (\boldsymbol isn't bold enough for my liking), and so far the best solution I've found is using contour. However, when contour is used within math ...
Alex's user avatar
  • 13
1 vote
1 answer
87 views

How to make bigger the contour integral symbol [closed]

Someone knows if the circle of the integral can be bigger?
Peluche's user avatar
  • 611
0 votes
1 answer
99 views

Problems using Contour Plot

I am new here in the forum and hope you can help me with a problem with Tikz. My goal is to create a map (see attached image for template). Unfortunately, I am having trouble getting the colors to ...
Peter1509's user avatar
2 votes
1 answer
71 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}{\...
DDS's user avatar
  • 8,491
1 vote
0 answers
34 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....
DDS's user avatar
  • 8,491
2 votes
1 answer
115 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 ...
fennel's user avatar
  • 97
2 votes
0 answers
57 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 ...
StefanD's user avatar
  • 21
0 votes
1 answer
60 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} \...
Romain's user avatar
  • 165
0 votes
2 answers
118 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} ...
William Sun's user avatar
4 votes
2 answers
179 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]{...
Atcold's user avatar
  • 1,717
3 votes
3 answers
393 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 ...
Vincent Krebs's user avatar
1 vote
0 answers
90 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, ...
Ben's user avatar
  • 105
0 votes
0 answers
128 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. ...
yoninno's user avatar
0 votes
0 answers
89 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, ...
d_e's user avatar
  • 101
1 vote
1 answer
134 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 ...
Dominik's user avatar
  • 483
1 vote
1 answer
359 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 ...
Zophia Anderson's user avatar
3 votes
3 answers
139 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}}% \...
MadyYuvi's user avatar
  • 13.4k
0 votes
0 answers
139 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 ...
dantopa's user avatar
  • 403
2 votes
2 answers
246 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 ...
A-Level Student's user avatar
2 votes
0 answers
210 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: ...
Martin J. Osborne's user avatar
0 votes
1 answer
51 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,...
QuantumEyedea's user avatar
0 votes
1 answer
391 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/...
Excelsior's user avatar
  • 2,292
1 vote
1 answer
407 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
771 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 ...
user3116388's user avatar
1 vote
1 answer
163 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} \...
hllspwn's user avatar
  • 47
1 vote
1 answer
363 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
130 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
292 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 ...
Sara's user avatar
  • 11
3 votes
2 answers
2k 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 ...
phys_alpha's user avatar
1 vote
1 answer
291 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=...
Julien Faure's user avatar
3 votes
0 answers
563 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. ...
Orion's user avatar
  • 43
5 votes
2 answers
619 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, ...
jnrobinson's user avatar
2 votes
0 answers
257 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 ...
caiovss's user avatar
  • 21
0 votes
0 answers
26 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?
Maddie's user avatar
  • 145
5 votes
2 answers
475 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 ...
Metamorphic's user avatar
1 vote
1 answer
168 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} \...
Taha Magdy's user avatar
2 votes
1 answer
636 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 ...
tvk's user avatar
  • 1,627
0 votes
0 answers
360 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 ...
AYBRXQD's user avatar
  • 737
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} \...
jfrans1's user avatar
  • 113
0 votes
2 answers
1k 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:...
noibe's user avatar
  • 2,064
8 votes
1 answer
229 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
1k 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} \...
Salim Bou's user avatar
  • 16.8k