473,473 Members | 2,003 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

plotting pixels in python

hi to all
I am just a beginner of python. I want to know how pixels are plotted
in python. I am not intending to use PIL because I don't need to
manipulate images. So is there a simple module for 2D graphics and
plot pixels

Sep 13 '07 #1
5 4235
On Sep 13, 1:03 pm, jo5867...@gmail.com wrote:
hi to all
I am just a beginner of python. I want to know how pixels are plotted
in python. I am not intending to use PIL because I don't need to
manipulate images. So is there a simple module for 2D graphics and
plot pixels
Here is a *very* simple-minded module for creating BMP files, that
supports drawing points, lines, and simple shapes.

http://www.geocities.com/ptmcg/python/index.html#bmp

-- Paul

Sep 13 '07 #2
On Sep 13, 11:22 pm, Paul McGuire <pt...@austin.rr.comwrote:
On Sep 13, 1:03 pm, jo5867...@gmail.com wrote:
hi to all
I am just a beginner of python. I want to know how pixels are plotted
in python. I am not intending to use PIL because I don't need to
manipulate images. So is there a simple module for 2D graphics and
plot pixels

Here is a *very* simple-minded module for creating BMP files, that
supports drawing points, lines, and simple shapes.

http://www.geocities.com/ptmcg/python/index.html#bmp

-- Paul
No currently I am using a canvas from the Tkinter module
What I actually want is to show how a line is plotted pixel by pixel
using a delay loop. I want functions something like putpixel not
draw_line

Sep 13 '07 #3
On Thu, Sep 13, 2007 at 06:37:43PM -0000, jo*******@gmail.com wrote regarding Re: plotting pixels in python:
>
On Sep 13, 11:22 pm, Paul McGuire <pt...@austin.rr.comwrote:
On Sep 13, 1:03 pm, jo5867...@gmail.com wrote:
hi to all
I am just a beginner of python. I want to know how pixels are plotted
in python. I am not intending to use PIL because I don't need to
manipulate images. So is there a simple module for 2D graphics and
plot pixels
Here is a *very* simple-minded module for creating BMP files, that
supports drawing points, lines, and simple shapes.

http://www.geocities.com/ptmcg/python/index.html#bmp

-- Paul

No currently I am using a canvas from the Tkinter module
What I actually want is to show how a line is plotted pixel by pixel
using a delay loop. I want functions something like putpixel not
draw_line
The question to your answer can be found here:

http://catb.org/~esr/faqs/smart-questions.html

Cheers,
Cliff
Sep 13 '07 #4
On Sep 13, 1:37 pm, jo5867...@gmail.com wrote:
On Sep 13, 11:22 pm, Paul McGuire <pt...@austin.rr.comwrote:
On Sep 13, 1:03 pm, jo5867...@gmail.com wrote:
hi to all
I am just a beginner of python. I want to know how pixels are plotted
in python. I am not intending to use PIL because I don't need to
manipulate images. So is there a simple module for 2D graphics and
plot pixels
Here is a *very* simple-minded module for creating BMP files, that
supports drawing points, lines, and simple shapes.
http://www.geocities.com/ptmcg/python/index.html#bmp
-- Paul

No currently I am using a canvas from the Tkinter module
What I actually want is to show how a line is plotted pixel by pixel
using a delay loop. I want functions something like putpixel not
draw_line
Oh! Google for "bresenham" and then you can plot pixels on your
canvas using that algorithm.

-- Paul

Sep 13 '07 #5
On Sep 13, 11:37 am, jo5867...@gmail.com wrote:
No currently I am using a canvas from the Tkinter module
What I actually want is to show how a line is plotted pixel by pixel
using a delay loop. I want functions something like putpixel not
draw_line
Try drawing 1px wide rectangles.

Sep 13 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: srijit | last post by:
Hi, I am looking for a good plotting package (preferably with 3D plotting capabilities) based on Python 2.3 (Windows 98). Unfortunately Dislin does not exist for Python 2.3. I look forward to...
3
by: Erik Lechak | last post by:
Hello All, I am creating a visual programming environment for python (similar to Matlab's simulink, but for python). For several reasons I have decided not to go with OGL. I am writing a wxOGL...
6
by: DG | last post by:
I'm interesting in finding the ultimate cross-platform python plotting module. So far I've used scipy.gplt and biggles which both have disadvantages. There is no python 2.3 binary package for...
7
by: Rolf Wester | last post by:
Hi, I have a Python console application that is intended to be used interactively and I have to add plotting capabilities (multiple XY plots and if possible 2D-surface plots). I'm loocking for a...
3
by: Jacky Luk | last post by:
Hi, I used to stick with VB6 and now changing to vb.net What about pixel plotting? there is no function like pset. So how to do simple pixels on screen? Thanks a lot Jack
7
by: diffuser78 | last post by:
My python program spits lot of data. I take that data and plot graphs using OfficeOrg spredsheet. I want to automate this task as this takes so much of time. I have some questions. 1. Which is...
10
by: anton | last post by:
Hi, I would like to know if some of you knows a - working - actual - out of the box (for me: binaries available)
2
by: Dr. Colombes | last post by:
Is there an easy scientific graphics (plotting) package for Python 2.5.1 running on Ubuntu Linux 7.1 ("Gutsy Gibbon")? A few years ago I used PyLab (a MatLab-like plotting module for Python) on...
2
archonmagnus
by: archonmagnus | last post by:
Hello all, I've been experimenting with developing an orbital analysis program. Being a visually oriented person, I'd like to translate my (x, y) coordinate pairs to an pixel image array so I can...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.