Math & Sciencegraphical representation of array like data structure

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
Mgccl
Posts: 3
Joined: Tue Jun 17, 2008 7:27 pm

graphical representation of array like data structure

Post by Mgccl »

How do I do it, the ones that look like from the book Introduction to algorithms.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Re: graphical representation of array like data structure

Post by gmedina »

Please upload an image (or provide a link to an image); citing that specific book tantamounts to nothing (at least for me).
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

graphical representation of array like data structure

Post by localghost »

I've found a kind of homepage [1]. But nobody knows which graphics are meant. For every chapter there exist presentation slides.

[1] Introduction to Algorithms


Best regards
Thorsten
Mgccl
Posts: 3
Joined: Tue Jun 17, 2008 7:27 pm

Re: graphical representation of array like data structure

Post by Mgccl »

coachbennett1981
Posts: 274
Joined: Fri Feb 05, 2010 10:15 pm

Re: graphical representation of array like data structure

Post by coachbennett1981 »

I am new to this, but check out PSTRICKS, if you are trying to draw data structure. It will be time consuming. I would start under pstree and look there. I do not know enough myself to help.

NIck
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

graphical representation of array like data structure

Post by gmedina »

As an alternative to coachbennett1981's suggestion, I would recommend PGF/TikZ.

Here you can find an example gallery that could give you some ideas:

TikZ exmples at TeXample.net
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply