TKZ is a collection of packages that extend the functionality of the drawing package TikZ.

learn more… | top users | synonyms

7
votes
4answers
949 views

Piecewise defined function in tikz or tkz-fct

How to define and plot a piecewise defined function in tikz or tkz-fct? For example consider the function f(x) = 1 for x < 0, x for 0 <= x < 1, cos(x) for x >= 1 Edit: After Torbjørn T.'s ...
32
votes
1answer
2k views

AucTeX extension for TikZ

Is there an AucTeX extension which supports the TikZ syntax and that one of the tkz-collection as well? In particular I want thinks like: syntax highlighting proper indentation that ...
7
votes
3answers
916 views

Label Points in a circle in tikz

Consider the slight modification of the construction from the solution to this question: Variables and basic arithmetics and tikz-euclide \documentclass{minimal} \usepackage{tkz-euclide} ...
8
votes
1answer
2k views

pgfplots axis scaling

Is it possible to define in pgfplots that y should correspond to Y cm in my plot? I know how to do this in tkz-fct, so let me add an tkz-fct example to make more clear what I want: ...
2
votes
2answers
398 views

How to define new functions for plotting in tkz-fct?

Is it possible to define new functions in tkz-fct and use them to plot using \tkzFct?
4
votes
4answers
374 views

Best way to draw scaled polygons in tikz

I want to draw pictures like this or this one . It is clear how to do this "manually" with TikZ. However is there a way to do it automatically. I.e. I just want to define the polygon (for ...
4
votes
2answers
513 views

tkz-graph : inconsistency between edge and loop

I'm discovering the great package tkz-graph and I experience some trouble-shotting with the loop macro. There some inconsistency — in my opinion — between the loop macro and the edge macro. For ...
3
votes
1answer
522 views

Variables and basic arithmetics and tikz-euclide

I want to draw a circle using tkz-euclide and n segments of this circle. Since I want to have n as a basic variable I need to divide in the following example. However it doesn't work, any ideas? ...