hi folks:
I fixed my problem now, I made a silly mistake. I should use v.get()==1, not v==1. :-)
have a nice day, everybody!!!!!
User Profile
Collapse
-
I am back for help:-)
Hi folks:
I have figured out how to sacle glyph by one scalar array, and color by another scalar array. but when I want to change color by third scalar array, I met some problems. At the beginning, I color the glyph by sex, and then I want to color by occupation. I thought I just need to the following code in order to change color. However, if I click occupation radiobutton, color can be changed according to the data given. but I can... -
Thank guys, I have found solution for this :-)
I am thinking to add another scalar array to control the shape of points
any ideas? thanks:-)Leave a comment:
-
I found the solution, thanks anyway:-)
you have given me a lots help, thanks! I really appreciate what you didLeave a comment:
-
Help
Hi all
I'm trying to colour and scale spherical glyphs using two different scalar arrays in the Polydata.Unfort unately, what I seem to be able to do is to colour *and* scale according to the one scalar array, but not be able to scale by one scalar and colour by the other. The code attached:
Can anyone help what wrong with my code?
This is data file:
1,6,3
1,6,2
2,6,4
2,3,5... -
Thanks:-)
I have learned a lots from you, thanks
but I still have one question about adding multiple scalars to a single points in vtk, do you have any tips. I thought I should do something about data attribute, but I am not sure how to do it.
ThanksLeave a comment:
-
Thanks, I solved this problem:-) I give your a link, you may intereste that:
Python megawidgets(pmw )
http://sourceforge.net/projects/pmw
Description:
A toolkit for building high-level compound widgets in Python using the Tkinter module. It contains a set of flexible and extensible megawidgets, including notebooks, comboboxes, selection widgets, paned widgets, scrolled widgets and dialog windows.
...Leave a comment:
-
Thanks:-)
I thought there is no combo box in TK, is that right???
So I can only use list in my project.Leave a comment:
-
hi there:
I have another question about how to create a combo box (or listbox) in this project. can you help me please if you know :-)
ThanksLeave a comment:
-
Question
hi folks:
Can anyone help me create a combo box in a Tkinter widget?
Please show me some sample codes,thanks:-) -
do me a favor?
Hi folks:
my sample data looks like following( tab-delimited):
Education Sex Experience Wage
10 1 5 10
5 1 10 9
15 0 10 15
Currently I am doing a project that will need Python/Tk as well as VTK(Visualizati on Toolkit) for image processing... -
-
Help Please
Hi folks:
I am new to use this software. Now I am tring to read my data with 11 attributes by using python. while I thought I may use python array to figure out this, but I couldnot. So please some one tell me how to read my data into an array(e.g. each record into rows, attributes in column)?
DO I have to use 11 arrays, or only one array will be fine?
Thank you so much.
No activity results to display
Show More
Leave a comment: