Search Results

Search: Posts Made By: jaldo0805
Forum: Programming 04-03-2014
2,419
Posted By jaldo0805
Isosurface and a 2D figure with the same scale and origin using mayavi
I am using mayavi to plot an iso surface from a 3D array s using the following piece of code:

src = mlab.pipeline.scalar_field(s)
fig=mlab.pipeline.iso_surface(src, color=(1.0,0.0,0.0),...
Forum: Programming 06-26-2013
1,136
Posted By jaldo0805
Python reading from a file
Hello everyone,
I've been learning some python (I was using other commercial software before), and doing plots from data stored on files as X and Y pairs has not been an issue. Know, I have some...
Forum: Programming 06-26-2013
1,010
Posted By jaldo0805
Python reading from a file
Hello everyone,
I've been learning some python (I was using other commercial software before), and doing plots from data stored on files as X and Y pairs has not been an issue. Know, I have some...
Forum: Programming 06-18-2013
3,696
Posted By jaldo0805
Nope, I tried that one already, but thanks. It...
Nope, I tried that one already, but thanks. It still breaks the line.
Forum: Programming 06-18-2013
3,696
Posted By jaldo0805
Python greek letters formatting
Hello everyone,
I am trying to label the X axis of a plot, using the Greek letter 'nu' within it.
So I have:
ax.set_xlabel('Energy ($ h \nu $) / eV') all the other Greek letters I have tried...
2,109
Posted By jaldo0805
Thank you so much, I spend hours yesterday trying...
Thank you so much, I spend hours yesterday trying to figure this out myself! using awk is fun, and simplifies a lot work (when you know how to use it, but on the mean time, it can be painful after...
2,109
Posted By jaldo0805
Thanks for the explanation, now, what can I do if...
Thanks for the explanation, now, what can I do if I want to print only the first set of lines with <this or only de second set of lines with <this ?
Thanks again!
2,109
Posted By jaldo0805
Thanks for your reply, what I want to print is...
Thanks for your reply, what I want to print is the data that appears following the first 'Sub-header1' and up to before the 'Sub-header2' that's why I added the counters {j++}j==1, (and then I will...
2,109
Posted By jaldo0805
awk used to extract data between text
Hello all,
I have a file (filename.txt) with some data (in two columns X and Y) which looks like this:

##########
'Header1'
'Sub-header1'
X Y
xxxx.xx yyyy.yyy...
4,697
Posted By jaldo0805
Thank you so much, that does the trick :) :)
Thank you so much, that does the trick :) :)
4,697
Posted By jaldo0805
Thanks for your reply, and for the hint on the...
Thanks for your reply, and for the hint on the use of $. I used the code you suggested, but what is doing is to get the first line that says "Generated ..." from inputfile, then pastes the content...
4,697
Posted By jaldo0805
For loop inside awk to read and print contents of files
Hello,
I have a set of files Xfile0001 - Xfile0021, and the content of this files (one at a time) needs to be printed between some line (lines start with word "Generated") that I am extracting from...
2,536
Posted By jaldo0805
No, I wish it was a homework, that way I would...
No, I wish it was a homework, that way I would still have classmates and teacher instructor to ask about that. It is actually something I am trying to do within my work... I've been working with...
2,536
Posted By jaldo0805
Thanks for your reply, but probably I didn't...
Thanks for your reply, but probably I didn't express my question adequately... with the example using $key, I meant that if its only a variable previously defined what I want to print within the cat...
2,536
Posted By jaldo0805
Printing a file within a cat call
Hello,
I have a file called geom.txt which has some data in a particular format readable by another program (after adding some 'standard lines'), so what I want to do is to have a script that...
1,312
Posted By jaldo0805
Thanks a lot, problem solved :)
Thanks a lot, problem solved :)
1,312
Posted By jaldo0805
[Solved] awk manipulation of sequentially named files
Hello, I am a very novice user of awk, I have a set of files named file001, file002, file003, file004, etc., each contains four fields (columns of data) separated each by a uneven number of spaces. ...
3,257
Posted By jaldo0805
It worked just perfect! :)
It worked just perfect! :)
3,257
Posted By jaldo0805
Thanks for your reply. It seems to work very...
Thanks for your reply. It seems to work very well, for the first 17 files file0001-file0017 (they are supposed to be 21 in total), but I get the following error message, which I beleive might be...
3,257
Posted By jaldo0805
[Solved] awk command to read sequentially from a file until last record
Hello, I have a file that looks like this:
Generated geometry (...some special descriptor)
1 0.56784 1.45783 -0.87965
8 1.29873 -0.8767 1.098789
... ... ... ......
Showing results 1 to 20 of 20

 
All times are GMT -4. The time now is 09:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy