Cellular automata on a hexagonal grid? [closed] - python

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have been playing around with simple cellular automata in Python on a square grid, using matplotlib.
Which Python based tools would be most useful in helping me work with cellular automata on hexagonal grids?

You need to represent the grid as a hextile. Please look at this post which discusses how to represent a hexagonal grid in memory: How do I represent a hextile/hex grid in memory?

Related

Python 3.4 - Library for 2D graphics [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
As title says, I'm looking for a 2D graphic library, where I can create a window, and then draw lines and basic shapes on it. I was searching around for a similar topics, and I've found something about GTK & Cairo. I have some experience with drawing in Java 2D Graphics library, so I would like to be able to create some small games like Space Invaders, Snake...
If you are looking for a slightly more static version of GUI which is less about moving visuals, you should check out Tkinter which comes as python's default GUI
On the other hand, if you want to make "small games like Space Invaders, Snake...", the pygame module would provide you with a great set of tools to easily create these games. I suggest you check them both out and see which one suits your needs better.
Good Luck

Prody for modeling protein structure python [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Can we use ProDy to model the structure of proteins? Is there any other way we can model the structure of a protein using Python?
Thank you
Yes, ProDy may do the job.
If you like using "only" Python, then check aslo PyMOL (http://www.pymol.org/)
for visualizing proteins and molecular structures.
If you like to run simulations, then GROMACS package for molecular dynamics simulations will be my choice, but it is written (mainly) in C.
http://www.gromacs.org/

Cash flow diagram in python [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I need to make a very simple image that will illustrate a cash flow diagram based on user input. Basically, I just need to make an axis and some arrows facing up and down and proportional to the value of the cash flow. I would like to know how to do this with matplot.
The best tool can be matplotlib. You can simply store the values in a list and then use 'stem' to draw the lines. Then you can use markers with triangle_up and triangle_down to show the arrow.
If you simply need arrows pointing up and down, use Unicode arrows like "↑" and "↓". This would be really simple if rendering in a browser.

Quickest way to plot ~400,000 points in python [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have a list which contains some data points which I need to plot.
The list is approximately 11,000 x 40 in size (2D Plot with numeric values).
Currently I am using matplotlib (as I moved to python from Matlab), however this is slow to plot so many points, and resizing the graph manually crashes my computer (MacBook Retina with 16Gb RAM).
The graph I would like needs to be interactive and therefore such delays are unacceptable.
Can anyone give me some advice with regards to perhaps a better (quicker) plotting library?
Thanks
EDIT: I am currently researching some tools but I am finding it difficult to work out which would be the fastest in terms of plotting...
I am looking at:
MathGL - http://mathgl.sourceforge.net/
Gnuplot.py - http://gnuplot-py.sourceforge.net/
PyQtGraph - http://www.pyqtgraph.org/
PyQwt - http://pyqwt.sourceforge.net/
guiqwt - http://pypi.python.org/pypi/guiqwt/

Interactive (annotated) charts in python [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
What are the best libaries for creating interactive (zoom, pan, create online annotations) charts in python?
I've checked Pretty graphs and charts in Python
but this does not address zoom, pan, and annotation capabilities.
I'm not sure what you mean by "annotation" in this context, but matplotlib graphs are well-suited for interactive work, and include very good zooming and panning capabilities built-in.

Categories

Resources