Michel Grandmougin | 2 Apr 22:39
Picon
Favicon

problem in a graph

Hello,
I have  some probleme with tkz.
It seems I have not this problem last year .

\documentclass[a4paper]{article}
\usepackage[applemac]{inputenc}
\usepackage{tikz,fullpage}
\usetikzlibrary{arrows,%
                 petri,%
                 topaths}%
\usepackage{tkz-berge}
\usepackage[position=top]{subfig}
\begin{document}
\begin{figure}
\centering

\subfloat[Figure 1]{
\begin{tikzpicture}[scale=0.75,transform shape]
   \tikzstyle{every node}=[node distance = 3cm,%
                           bend angle    = 45, ]
   \Vertex(a)
   \NOWE{5}(1)
   \NOEA{5}(2)
   \SOWE{5}(3)
  \SOEA{5}(4)
   \tikzstyle{EdgeStyle}=[post]
   \tikzstyle{EdgeStyle}=[pre,bend left]
   \Edge[](3)(5)
\end{tikzpicture}
}
(Continue reading)

Alain Matthes | 2 Apr 23:20
Picon
Gravatar

Re: problem in a graph


Le 2 avr. 09 à 22:39, Michel Grandmougin a écrit :

> Hello,
> I have  some probleme with tkz.
> It seems I have not this problem last year .

Hi

It's not a problem with pgf or TikZ, it' a problem
  with my package tkz-berge.

1) tkz-graph is enough if you don't use complex graphs .

2) your syntax is wrong

\Vertex{A} or perhaps you have a very old version

When you define a node you need to use {...}
when you use a node you need to use (...)

you can wrote

\NOWE(A){1} or \NOWE(A){B}
  etc ...

You can see the doc here

http://altermundus.com/downloads/packages/TKZdoc-graph.pdf

(Continue reading)

Michel Grandmougin | 3 Apr 00:27
Picon
Favicon

Re: problem in a graph

Hi,

Thank you. I had before a very old version. Now I have change my system.

With  your help, i have modified my document . All is Ok again.
Thank you.

Michel G.

Le 2 avr. 09 à 23:20, Alain Matthes a écrit :

>
> Le 2 avr. 09 à 22:39, Michel Grandmougin a écrit :
>
>> Hello,
>> I have  some probleme with tkz.
>> It seems I have not this problem last year .
>
>
> Hi
>
> It's not a problem with pgf or TikZ, it' a problem
> with my package tkz-berge.
>
> 1) tkz-graph is enough if you don't use complex graphs .
>
> 2) your syntax is wrong
>
> \Vertex{A} or perhaps you have a very old version
>
(Continue reading)

LambdaSir | 6 Apr 01:33
Picon

The Y tick Label problem in pgfplots

Hi, 

Pgfplots is a great package ! After I have a try, I get addicted to it. :)   

One quick question about it,  When the y value in the plot is larger than 10000, pgfplots automatically
translate to 2 x 10^4.  How can I force the Y tick Label  to be 20,000 40,000 60,000, rather than 2 x 10^4, 4 x
10^4, 6 x 10^4.

 (right now it has a strange 10^4 off to the side)  I think 10^4 is not a good choice for me. But I can not find the
answer in manual. 

------------------------------------------------------------------------------
robert papanicola | 7 Apr 10:43
Picon

package Bodegraph

I just put online a new package to the line staff of Bode diagrams,
Nyquist, and Black with PGF / tikz.

http://www.sciences-indus-cpge.apinc.org/Bode-Black-et-Nyquist-avec-Tikz

Hoping that it will be useful to at least some automation, electronics
or physics teachers.

thank you again to the list for all the help given

--

-- 
robert papanicola
http://www.sciences-indus-cpge.apinc.org/
http://www.medicalistes.org/~maxime-plus/

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
healyp | 7 Apr 16:33
Picon
Favicon

graph algorithm animation


Hello PGF/TikZ users,

Following on from a recent post about incremental unveiling of mindmaps I
got to wondering about possibilities of using TikZ for animating graph
algorithms.  Attached to this is a series of pictures (
http://www.nabble.com/file/p22930495/alg.tex alg.tex , .tex and 
http://www.nabble.com/file/p22930495/alg.pdf alg.pdf , .pdf) of a Breadth
First Search algorithm that uses the tkz-graph package and Kjell Magne
Fauske's recent suggestions for mindmaps.

The solution seems a bit tedious in that many styles have to be invented and
so I wondered if others had ideas for a better, more automatable approach.

Thanks,
Patrick Healy
--

-- 
View this message in context: http://www.nabble.com/graph-algorithm-animation-tp22930495p22930495.html
Sent from the pgf-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
Alain Matthes | 8 Apr 01:23
Picon
Gravatar

Re: graph algorithm animation


Le 7 avr. 09 à 16:33, healyp a écrit :

>
> Hello PGF/TikZ users,
>
> Following on from a recent post about incremental unveiling of  
> mindmaps I
> got to wondering about possibilities of using TikZ for animating graph
> algorithms.  Attached to this is a series of pictures (
> http://www.nabble.com/file/p22930495/alg.tex alg.tex , .tex and
> http://www.nabble.com/file/p22930495/alg.pdf alg.pdf , .pdf) of a  
> Breadth
> First Search algorithm that uses the tkz-graph package and Kjell Magne
> Fauske's recent suggestions for mindmaps.
>
> The solution seems a bit tedious in that many styles have to be  
> invented and
> so I wondered if others had ideas for a better, more automatable  
> approach.

Hi

below a solution (sorry for my bad english)

You can replace     \GraphInit[vstyle=Shade]
  by

       \tikzset{VertexStyle/.append style= {
           shape        = circle,
(Continue reading)

Scott Murman | 8 Apr 23:38

center of mass/gravity

is there a center of mass/gravity symbol convenient in one of the pgf  
macro packages?

-SM-


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
Robert Wenner | 11 Apr 19:49
Picon
Picon

Problem placing text

Hi,

in the example below, the X are not centered within their circles, but the 
lines are. How can I center the X inside their circles? 

Thanks, 

Robert 

 
\documentclass{article}  
\usepackage[american]{babel}  
\usepackage{tikz}  

\newcommand{\x}[3]{% x, y, color 
\draw[ % 
x=1mm, y=1mm, % 
] % 
(20 * #1 + 10, 20 * #2 + 10) circle(10); 
\pgftext[ % 
x=1, y=1mm, % 
base, % 
at={\pgfpoint{20 * #1 + 10}{20 * #2 + 10}} % 
] % 
{\textcolor{#3}{\Huge{X}}}; 
} 

\newcommand{\myline}[3]{% x, y, color 
\draw[ % 
x=1mm, y=1mm, % 
(Continue reading)

Kjell Magne Fauske | 11 Apr 20:22
Picon

Re: Problem placing text

On Sat, Apr 11, 2009 at 7:49 PM, Robert Wenner <robert.wenner <at> gmx.de> wrote:
> Hi,
>
> in the example below, the X are not centered within their circles, but the
> lines are. How can I center the X inside their circles?
>
> Thanks,
>
> Robert
>
>
> \documentclass{article}
> \usepackage[american]{babel}
> \usepackage{tikz}
>
> \newcommand{\x}[3]{% x, y, color
> \draw[ %
> x=1mm, y=1mm, %
> ] %
> (20 * #1 + 10, 20 * #2 + 10) circle(10);
> \pgftext[ %
> x=1, y=1mm, %
> base, %
> at={\pgfpoint{20 * #1 + 10}{20 * #2 + 10}} %
> ] %
> {\textcolor{#3}{\Huge{X}}};
> }
>
> \newcommand{\myline}[3]{% x, y, color
> \draw[ %
(Continue reading)


Gmane