Search found 9 matches
- Tue Jul 26, 2022 1:26 pm
- Forum: Graphics, Figures & Tables
- Topic: tikz algebraic expressions
- Replies: 1
- Views: 5963
tikz algebraic expressions
I am trying to do something which I think is very elementary, but cannot seem to figure out the correct syntax. Basically I want to define some variables that specify the dimensions of a simple item. I want to draw several instances of that item, So I am using a \foreach and within the \foreach I ...
- Tue Aug 13, 2019 10:34 am
- Forum: Texmaker and TeXstudio
- Topic: Packages not installing
- Replies: 1
- Views: 3766
Packages not installing
I am using TexMaker 5.0.3 of Windows 7. When I add a new package to the preamble, for example
\usepackage{showlabels}
then the package appears to be downloaded, but when I compile my Latex document I get a message saying the .STY file cannot be found. This has happened across multiple packages ...
\usepackage{showlabels}
then the package appears to be downloaded, but when I compile my Latex document I get a message saying the .STY file cannot be found. This has happened across multiple packages ...
- Thu Jan 10, 2019 1:43 pm
- Forum: Graphics, Figures & Tables
- Topic: Pgfonlayer
- Replies: 8
- Views: 9123
Pgfonlayer
If I take out the "stack plots=y,area style" then the code workds/ Of course the areas are npot stacked so it does not give me what I want, but it does suggest I need to do the \draw's in a separate axis.
- Thu Jan 10, 2019 1:38 pm
- Forum: Graphics, Figures & Tables
- Topic: Pgfonlayer
- Replies: 8
- Views: 9123
Pgfonlayer
Just had a thought. Could it be related to the "area style" command in the axis statement - do I nee to overlay another axis for the \draw?
- Thu Jan 10, 2019 1:36 pm
- Forum: Graphics, Figures & Tables
- Topic: Pgfonlayer
- Replies: 8
- Views: 9123
Pgfonlayer
Here is the code. In the actual document this code is within a subfigure, and there is a preamble with a lot of \usepackage statements. The pgfonlayer statements are commented out in the code below, towards the end and surrounding some \draw statements. I am using TexMaker 4.5.
\begin{tikzpicture ...
\begin{tikzpicture ...
- Thu Jan 10, 2019 1:20 pm
- Forum: Graphics, Figures & Tables
- Topic: Pgfonlayer
- Replies: 8
- Views: 9123
Pgfonlayer
I have a simple work-around, which is to mode the \draw statements before the \addplot statemnets for the statcked areaa. This puts the \draw lines in front of the areas, but this is a workaround rather than a solution.
- Thu Jan 10, 2019 1:17 pm
- Forum: Graphics, Figures & Tables
- Topic: Pgfonlayer
- Replies: 8
- Views: 9123
Pgfonlayer
The actual tex code is on another, not connected. system, but I will arrange to copy it across. However, since the \draw statements work ok without the pgfonlayer statements, then I think that demonstrates there is no systax error in them. At most it might make a diference whether the \draw ...
- Thu Jan 10, 2019 9:44 am
- Forum: Graphics, Figures & Tables
- Topic: Pgfonlayer
- Replies: 8
- Views: 9123
Pgfonlayer
I have a couple of simple charts. Pgfonlayer seems to work fine in one chartbut not the other.
First chart uses:
\begin{pgfonlayer}{forground}
.. several \node statements
\end{pgfonlayer}
to make the nodes appear on top of the lines plotted in the graph. This works exactly as expected.
Second ...
First chart uses:
\begin{pgfonlayer}{forground}
.. several \node statements
\end{pgfonlayer}
to make the nodes appear on top of the lines plotted in the graph. This works exactly as expected.
Second ...
- Fri Sep 29, 2017 1:17 pm
- Forum: Graphics, Figures & Tables
- Topic: Tikz calculations
- Replies: 2
- Views: 5074
Tikz calculations
I am writing some Tikz code to draw multiple ellipses within a rectangle. I want to change the fill color of the ellipses based on a counter. So the code I have is:
\def\clr{ref}; % initial color
\def\count{0}; % counter
\foreach \col in {1,...,\numcols}
{
\foreach \row in {1,...,\numrows ...
\def\clr{ref}; % initial color
\def\count{0}; % counter
\foreach \col in {1,...,\numcols}
{
\foreach \row in {1,...,\numrows ...