Tagged Questions
5
votes
1answer
66 views
using more than 2 arguments in a pgfplots style
Based on How to plot data from multiple filters using pgfplots I got a follow up one. I would like to filter not only for one value of P for each plot but for also for X values that are smaller than a ...
5
votes
0answers
324 views
Trying to make an automatic histogram (in pgfplots?)
How can I convert the automatic table generated by the macro, to an automatic histogram?
Is the best way do it using pgfplots?
\documentclass{article}
\RequirePackage{ifthen}
...
3
votes
1answer
111 views
Use macro to draw inside pgfplot/axis
I would like to implement a gantt chart function inside pgfplots. To draw the tasks, I have a macro that calculates the start and finish time of a task. However, when I use multiple tasks, the values ...
4
votes
1answer
253 views
How to define a parameterized command to be consumable in \pgfmathdeclarefunction?
This is the solution to defining a piecewise function for pgfplots.
However, I would like to be able to use a macro to define each of the pieces of the function. It is simple to do this if one is ...
1
vote
1answer
607 views
Using Macro Defined Lists in TikZ/PGFplots
I want to be able to use a macro to specify a list (it is a constant list, i.e. will not change throughout the document) and use this macro rather than hard code the list contents in the TikZ/PGFplots ...
5
votes
1answer
233 views
Using \IfNoValueTF within a TikZ style specification.
In an answer to Flushing PGF commands and local variable Matthew had suggested using \IfNoValueTF within a TikZ \node specification to determine the text. This solution works great for me.
However, ...
4
votes
1answer
215 views
Determine if within a PGF axis environment
Is there an easy way to test whether a macro is called from within an PGF \begin{axis}...\end{axis} environment? One solution would be to define a new environment myself that sets a flag at ...
3
votes
2answers
262 views
Use \def without including the square bracktes with pgfplot?
I would like to define a line style to use in my pictures.
But would still like to retain the flexibility to be able to tweak these if needed in the actual picture, as in the third picture ...