Re: [sage-support] Re: Labeled Graphs

2010-11-26 Thread Eckhard Kosin
Hi Johannes,

Am Freitag, den 26.11.2010, 11:21 +0100 schrieb Johannes:
> Alexandre and Eckhard, thnx for your notes, but I have to create 54
> graphs and i dont want to this by hand. So at least I need a way to
> automate the construction with your tools.
With PGF you have the full programming power of LaTeX with nice
enhancements for graphics and calculations.  Though PGF gives you the
possibility to define your layout once and then fill in the data of your
54 graphs.  And it's seamlessly included to your LaTeX document.

   I hope this helps

Eckhard
 
>  In my eyes this ends up in
> writing my own function which calls the tools.
> I hoped this is not neccessary and there would be some sage-libaries to
> do this.
> 
> greatz Johannes
> 
> 
> Am 24.11.2010 18:55, schrieb Nathann Cohen:
> > Hello !!
> >
> >   
> >> how do i create a graph where i have a label for each vertex and each
> >> edge? Precisely I need to labels for each vertex (like a name and a value).
> >> 
> > You can deal with labeled vertices using the set_vertex/get_vertex
> > methods.
> >
> > Nathann
> >
> >   
> 
-- 
  Service für Mathematik und Simulation
  Dr. Eckhard Kosin, selbständiger Diplom-Mathematiker

  Am Nymphenbad 14
D-81245 München, Germany

  Tel.: (+49)(+89) 88 88 479
  Tel.,Fax: (+49)(+89) 835 844
  mailto:e...@mathematik-service-kosin.de
  http://www.mathematik-service-kosin.de

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


Re: [sage-support] Re: Labeled Graphs

2010-11-26 Thread Johannes
Alexandre and Eckhard, thnx for your notes, but I have to create 54
graphs and i dont want to this by hand. So at least I need a way to
automate the construction with your tools. In my eyes this ends up in
writing my own function which calls the tools.
I hoped this is not neccessary and there would be some sage-libaries to
do this.

greatz Johannes


Am 24.11.2010 18:55, schrieb Nathann Cohen:
> Hello !!
>
>   
>> how do i create a graph where i have a label for each vertex and each
>> edge? Precisely I need to labels for each vertex (like a name and a value).
>> 
> You can deal with labeled vertices using the set_vertex/get_vertex
> methods.
>
> Nathann
>
>   

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: Labeled Graphs

2010-11-25 Thread Alexandre Blondin Massé
If you want nice graph pictures with labels on edges, I suggest you
use Graphviz. I guess it does not solve your problem directly, but
this is the solution I've been using so far...

On 24 nov, 13:28, Johannes  wrote:
> thnx, but that's not  excatly what I'm looking for, because te label
> does not appear in the picture created by
> graph.show()
> Johannes
> Am 24.11.2010 18:55, schrieb Nathann Cohen:
>
>
>
>
>
>
>
> > Hello !!
>
> >> how do i create a graph where i have a label for each vertex and each
> >> edge? Precisely I need to labels for each vertex (like a name and a value).
>
> > You can deal with labeled vertices using the set_vertex/get_vertex
> > methods.
>
> > Nathann

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


Re: [sage-support] Re: Labeled Graphs

2010-11-24 Thread Nathann Cohen
> thnx, but that's not  excatly what I'm looking for, because te label
> does not appear in the picture created by
> graph.show()

Can't help on that one :-/

Nathann

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


Re: [sage-support] Re: Labeled Graphs

2010-11-24 Thread Johannes
thnx, but that's not  excatly what I'm looking for, because te label
does not appear in the picture created by
graph.show()
Johannes
Am 24.11.2010 18:55, schrieb Nathann Cohen:
> Hello !!
>
>   
>> how do i create a graph where i have a label for each vertex and each
>> edge? Precisely I need to labels for each vertex (like a name and a value).
>> 
> You can deal with labeled vertices using the set_vertex/get_vertex
> methods.
>
> Nathann
>
>   

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: Labeled Graphs

2010-11-24 Thread Nathann Cohen
Hello !!

> how do i create a graph where i have a label for each vertex and each
> edge? Precisely I need to labels for each vertex (like a name and a value).

You can deal with labeled vertices using the set_vertex/get_vertex
methods.

Nathann

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org