A good matplot tutorial (from beginner to intermidiate)? [closed] - python

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Can anyone recommend a good matplot tutorial. I am a complete beginner - but have used similar software (matlab, R etc), in my halcyon days at University (i.e. a long time ago).
A google search brings up a list of dubious quality, and the 'official' docs are too terse, or provide examples that are more 'edge case' (e.g. drawing dolphins swimming in a bubble), than one is likely to meet in practise.
I want a manual that provides the following information in a well structured manner:
Introduction to the data types
Introduction to 2D plotting with some simple practical examples (simple 2D graphs)
Introduction to 3D plotting with some simple practical examples (simple 2D graphs: contour and surface)
[Edit]
I'm new to both Python and matplot (but not new to programming - I have a C/C++ background)

There is a nice book called "Matplotlib for Python Developers"
It doesn't cover 3D graphics, though.

Are you a beginner with programming, Python, or just matplotlib? Because each of those will provide entirely different points of entry. I'm quite competent with Python, but I had not used matplotlib so much... however, the gallery has examples of different types of graphs and it's usually somewhat simple to convert the examples to your own use-case.
It's also a lot easier if you know PyGTK since they use a fair amount of said library in matplotlib.
Edit:
Also, Ipython in pylab mode is really good for exploring the objects, methods, and modules in pylab.

This might be useful:
Getting started with Matplotlib
http://showmedo.com/videotutorials/video?name=7200090&fromSeriesID=720

A 10-page tutorial: Raymond
Not a tutorial, but more examples:
scipy.org/Cookbook/Matplotlib
(#morpeous, if you know of any good tutorials of the kind you'd like,
please post them — might motivate someone.)

Good one for begineers:
See some sample from the below link
https://sites.google.com/site/scigraphs/tutorial#TOC-Simple-plot--font-size-2-

Related

How to procedurally generate pixel art from pre draw assets? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I want to design a load of pixel art crabs (crabs are just an example) in different colours with different backgrounds, claws, gloves, eyes etc.
The way I envision it is that I would draw multiple assets that a program will stick together randomly and check if it’s the same as another it’s already generated. I assume it would be put together via a grid (one section of the grid will always be a claw but it will a randomly selected by the program for example. All the other sections of the grid will be for one specific part of the body as well).
I have no idea how to do this or where to start. I’m quite new to coding so I’m really looking for advice. How can I achieve this? What are some good key words to search for tutorials that might help? What libraries or anything will I need to use to have my code create the pictures? How do I link the drawn assets to the code? How do I get the code to export the generated designs to a folder? And anything else you know I’ve missed!
The pixel art will just end up being art, not game assets or anything.
Thanks a lot for reading and also thanks a lot for any help! Much appreciated! I know this is very noob stuff and I’m more than willing to put in the work, I just need some guidance from you guys!
Basically, you would write code to read from the original images, them paste them together into new images.
The processing programming language is a great tool when coding for artistic purposes: https://processing.org/
You may take a look at this list of articles and tools for creative coding: https://github.com/terkelg/awesome-creative-coding

Data analysis in python [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I have to make two data analysis reports using descriptive statistics, making plenty of informative plots etc.
Problem is, I'm not sure what tools should I use? I started preparing one report in Jupyter Notebook using pandas, scipy.stats and matplotlib with intention to convert it somehow to pdf later on, so I can have report without code. After hour or two I realized it might not be the best idea. I even had problem with making good description of categorical data, since pandas describe() had limited functionality on this type of data.
Could you suggest me some tools that would be best in this case? I want to prepare aesthetic, informative report. It's my first time doing data analysis including preparing report.
Your report doesn't require code, as you said. So why not just type up your report on Word and include the relevant tables and plots? You can produce plots on python using matplotlib (seaborn for aesthetic plots). And as for the statistics, you do not only have to use what pandas offers. Depending on the kind of data, for example, you can use scipy and apply those functions on columns of your dataframe to generate insights.
Also check out this data analysis and visualization software called Tableau. You can quickly create some beautiful and insightful plots using this; however, there is a learning curve.

How to implement SIFT (Scale-invariant feature transform) for 3D image in Python? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 months ago.
Improve this question
I saw many examples of SIFT for 2-dimensional image only: http://docs.opencv.org/3.1.0/da/df5/tutorial_py_sift_intro.html. But in Wikipedia there is written that SIFT may be applied for "3D modelling" as well. Please help me to find examples for 3-dimensional image in Python, or provide me the ones of your own. I need to find locations of Amino Acids within given protein (creo EM scan), and I want to compare precision of SIFT compared to other heuristics calculations.
If you need to do some 3D program, I suggest you to look at this great library: Point Cloud Library (PCL). However, I think you might need to program in C++ mainly.
If you really like to code in Python, you could look at the python-pcl. It is a python binding to the subset of actual Point Cloud Library.
And if you like to find how to use 3D keypoint detectors, including 3D sift, you can look at this page here and a nice tutorial here.
There is a 3D SIFT implementation on GitHub: SIFT3D
It is implemented in C but it has a CLI, so it is possible to call from Python.

Technology for visualization of geographical data. Python, matlab, Java [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other 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 am new to geographical data visualization, so I would like to ask if someone could recommend me some tool for easy visualization of data on map.
Particularly I have data from one European city and I need to visualize them as heat maps (eg. price based on the location, distance to transportation, etc.).
I have some experience and already prepared non geo visualizations in Python (price in time plots, etc. in matplotlib), but I can code in matlab and Java as well and I am willing to learn something new.
This is as part of my thesis and they have recommended me tools like qgis or grassgis, but it seems to me like something completely different from programming that would be worth of semestral course and I don't have any experience with this at all. I have read also something about matplotlib and basemap, but it does seem to be more for at leas visualizations for whole country (I could not find any maps with city borders and roads).
My question is which way would you go? I am especially asking people who do some geo based "Data Science", which tools do you use to visualize quickly geographical data?
People use R a lot for data visualization in Data Sciences.
More specifically, you can look at packages like ggplot2. I think it might be exactly what you are looking for.
I've been working with matlab for over 2 years now and with python for a little bit over 1 year. When it comes to geographic heatmap, I was able to do things that were much more visually appealing after a couple of days of working with R.
Just a quick introduction to what R & ggplot2 can do: http://rstudio-pubs-static.s3.amazonaws.com/10881_80cc12ceb10a433bb3de48cfc7b42de7.html

Easiest ways to generate graphs from Python? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm using Python to process CSV files filled with data that I want to run calculations on, and then graph. I'm looking for a library to use that I can send processed CSV information to, or a dict of some sort, and then choose different graphing styles with.
Does anyone have any recommendations?
I'm personally using matplotlib and am very happy with it.
Matplotlib and Gnuplot.py are popular choices. I've used both.
For client-side charts Open Flash Chart or Google Charts Tools.
I've been using matplotlib for about 3 years now to plot experimental data. Before I was using Excel and that was just a pain. I've been happy with matplotlib ever since. It's great and very powerful.
There is pychart or PyCha, both of which I have not used but have been considering myself.
It depends on the kind of graph you want,
most of the time, i'm using matplotlib but sometimespydot is good.
The various layout algorithms are good for me when dealing with huge graphs

Categories

Resources