473,729 Members | 2,340 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python and DISLIN

If anyone has any experience using the graphics package DISLIN with Python,
I'd appreciate some help.

I am trying to use the function tifmod to change the resolution of a tif
graphics file. Either I am using it incorrectly, or I don't understand what
it is supposed to do.
If I use

tifmod(N,'INCH' ,'RESOLUTION')

and change the value of N, I think the size and properties of the resulting
tif file should change; but nothing seems to change, regardless of how I set
N (or any of the other parameters). I always get a tif file with the same
size and characteristics (I did delete the file before each trial).

What do I not understand?

Thanks,

Tom
Jul 18 '05 #1
2 1992
"Tom Richardson" <n4**@bellsouth .net> wrote in message news:<%3******* **********@bign ews5.bellsouth. net>...
If anyone has any experience using the graphics package DISLIN with Python,
I'd appreciate some help.

I am trying to use the function tifmod to change the resolution of a tif
graphics file. Either I am using it incorrectly, or I don't understand what
it is supposed to do.
If I use

tifmod(N,'INCH' ,'RESOLUTION')

and change the value of N, I think the size and properties of the resulting
tif file should change; but nothing seems to change, regardless of how I set
N (or any of the other parameters). I always get a tif file with the same
size and characteristics (I did delete the file before each trial).


Hi:

[I once used Python and DISLIN. But nowadays I use something better
for my scientific calculations: Bigloo (Scheme) + DISLIN.]

That said: the best you can do: contact directly the developers of
DISLIN. I made the experience that they are very responsive; you get
answers as fast as the earth takes for one revolution around itself.
Jul 18 '05 #2
Thank you. I'll work both options.
<ch********@hot mail.com> wrote in message
news:f7******** *************** ***@posting.goo gle.com...
"Tom Richardson" <n4**@bellsouth .net> wrote in message news:<%3******* **********@bign ews5.bellsouth. net>...
If anyone has any experience using the graphics package DISLIN with Python, I'd appreciate some help.

I am trying to use the function tifmod to change the resolution of a tif
graphics file. Either I am using it incorrectly, or I don't understand what it is supposed to do.
If I use

tifmod(N,'INCH' ,'RESOLUTION')

and change the value of N, I think the size and properties of the resulting tif file should change; but nothing seems to change, regardless of how I set N (or any of the other parameters). I always get a tif file with the same size and characteristics (I did delete the file before each trial).


Hi:

[I once used Python and DISLIN. But nowadays I use something better
for my scientific calculations: Bigloo (Scheme) + DISLIN.]

That said: the best you can do: contact directly the developers of
DISLIN. I made the experience that they are very responsive; you get
answers as fast as the earth takes for one revolution around itself.

Jul 18 '05 #3

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

Similar topics

3
2005
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 suggestions from members. Regards, Srijit
5
2133
by: eesun | last post by:
Hi, I've downloaded the dislin package for the scientific plotting. And I have already created the application window with Tkinter (menu, canvas, status bar..). I want to integrate the Dislin plotting into the Tkinter application. For ex: show the dislin result on the Tkinter Canvas. Anyone can help? thx
7
2824
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 reasonably fast plotting library (not GPL'ed, needs not be for free) that can be used under Windows. An alternative would also be a standalone application that can be controlled via TCP/IP from my Python application. I tried matplotlib but this...
7
6848
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 the best graph plotting utility in python or linux. Can I write a code in such a way that my python code automatically gives me a graph. I know little about gnuplot. If you know any better tool without much learning curve please tell me in Linux. ...
8
1644
by: Méta-MCI | last post by:
Hi, all! Any news, on release Python-2.5 for many modules/lib? Some exemples: Console (Effbot) SciPy Iconvcodec DirectPython
1
2201
by: pwhbeck | last post by:
Linux SUSE 10.1 Python 2.5 Dislin 9.1 Download dislin 9.1, change to directory dislin-9.1/python Change make_py to: elif test $1 = lnx ; then CC="gcc -fPIC -c -O" PYTH_INC="/usr/local/include/python2.5" PYTH_CONF="/usr/local/lib/python2.5/config"
4
1803
by: yinglcs | last post by:
Hi, In Perl, there is a GD module to draw custom chart. http://www-128.ibm.com/developerworks/opensource/library/os-perlgdchart/?ca=dgr-lnxw01Perl-GD-Charts Can you please tell me if there is an equivalent library in python? Thank you.
3
2222
by: luis | last post by:
Hello! I have an unespectedn result with dislin titlin dislin.metafl ('WMF') dislin.disini () ..... a="Andrés or Ramón" dislin.titlin (a.encode("Latin-1"), 1)
1
1769
by: adolfo | last post by:
I am at the very beginning of the DISLIN 9.3 Manual: 1.4 Quickplots Some quickplots are added to the DISLIN module which are collections of DISLIN routines for displaying data with one command. For example, the function ’plot’ displays two-dimensional curves. Example: from Numeric import * from dislin import * x = arange (100, typecode=Float32) plot (x, sin (x/5)) disfin ()
0
8763
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9284
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8151
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6722
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6022
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4528
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4796
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3238
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 we have to send another system
3
2165
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.