Tag Info

New answers tagged

1

Disclaimer: I'm trying to answer my own question despite severe lack of knowledge... After a closer examination of related problems, I have found that combining this and that answer serves as an appropriate answer to my question as well (my question might be marked as duplicate although the respective questions go into a slightly different direction). For ...


3

Transform canvas is a hardcore transformation that doesn't respect any bounding box computation or similar well-behaved updates. Hence it transforms like a boss. Here, we came to the conclusion in the comments that you would like the nodes to respect the inner transformation within the scope. That is done by the transform shape i.e. the shape of the node is ...


5

Is it some thing like this? This is obtained by \draw[dashed,line width=2pt] (aa.west) -- ++(-15pt,0) -- ++ (0,0,4) -- ([xshift=-15pt]bb.west) -- (bb.west); Code: \documentclass[% 12pt, journal, onecolumn, twoside, draftcls, letterpaper, ]{IEEEtran} \usepackage{tikz} \usetikzlibrary{calc} \usetikzlibrary{positioning} ...


5

With pgfplots and diffrent styles for different sets of numbers \documentclass{report} \usepackage{pgfplots} \pgfplotsset{width=5.5in,compat=1.10} \begin{document} \begin{tikzpicture} \begin{axis}[axis lines=middle, xlabel = $x$, x label style={at={(1.04,0.5)}}, ylabel = $y$, y label ...


2

A PSTricks solution. Run it with xelatex \documentclass[pstricks]{standalone} \usepackage{pst-plot} \begin{document} \begin{pspicture}(-6.2,-5.1)(7,6) \psaxes[dx=2,Dx=200,dy=2,Dy=2000]{->}(0,0)(-6,-5)(6.5,5.5)[$x$,0][$y$,90] \pslistplot[xunit=0.01,yunit=0.001,plotstyle=dots,dotstyle=square*,linecolor=red]{ 100 2000 200 3000 -400 2500 500 ...


4

Another solution for fun with tkz-euclide package: \documentclass{report} \usepackage{tkz-euclide} \begin{document} \begin{tikzpicture} \tkzInit[xmin=-600,xmax=600, xstep=100, ymin=-5000, ymax=5000,ystep=1000] \tkzAxeXY \tkzDefSetOfPoints[prefix=P]{% 100/2000, 200/3000, -400/2500, 500/4200, 200/-1000, ...


12

With textpos: \documentclass[a4paper]{article} \usepackage[overlay,absolute]{textpos} \newcommand\PlaceText[3]{% \begin{textblock*}{10in}(#1,#2) %% change width of box from 10in as you wish #3 \end{textblock*} }% \textblockorigin{-5mm}{0mm} %% Default origin top left corner and it can be changed in this line \begin{document} \PlaceText{0mm}{0mm}{Origin} ...


20

One option using TikZ. All distances are measured from the upper left corner of the paper (this can be easily modified to choose another origin point): \documentclass{article} \usepackage{tikz} \newcommand\PlaceText[3]{% \begin{tikzpicture}[remember picture,overlay] \node[outer sep=0pt,inner sep=0pt,anchor=south west] at ([xshift=#1,yshift=-#2]current ...


2

I really don't know why but this works for me \documentclass{article} \usepackage{pgfplots} \usetikzlibrary{calc} \pgfplotsset{compat=1.10} \begin{document} \begin{tikzpicture} \begin{axis} \addplot {x*x}; \draw [ultra thick, dotted, draw=brown] (current axis.left of origin) -- (current axis.right of origin); \draw [ultra ...



Top 50 recent answers are included