plottyy and axis tight11 (5/6/2013 7:13:46 AM) comp.soft-sys.matlab Hello forum,
I am plotting 2 sets of data vectors (x1,y1) and (x1,y2), and I plot them like this:
[ax,H1,H2]=plotyy(x1,y1,x1,y2,'plot');
for i=1:2
datetick(ax(i),'x', 15)
axis tight;
end
Howeve... ritchie31
latex in axis figure01 (3/28/2013 6:30:33 AM) comp.soft-sys.matlab Hello forum, do you know if all latex features are available in matlab?
For example I want to write something like this
xlabel('$$r_{\text{eff}} (\mu \text{m})$$','interpreter','tex');
but it does not w... ritchie31
fscanf and file with headers04 (2/28/2013 12:33:15 AM) comp.soft-sys.matlab Hello forum I want to read a file which contain headers and block of data.
Each block have 100 rows of numerical data and 2 headers with a numeric value for the headers.The structure of the data is the followi... ritchie31
heat equation in 1D and finite element methods018 (12/10/2012 9:49:54 PM) comp.soft-sys.matlab Hello forum.
I am solving the heat equation i 1d using FEM. It works fine for initial condition. However when I tried to run it for t>0 it does not work properly.
Here is my code, you can run it with this i... ritchie31
error with function and pi value026 (12/6/2012 4:52:17 AM) comp.soft-sys.matlab Hello forum I want to evaluate in x=1 and t=0 in this function:
y= sin(pi*x).*exp(-pi^2*t) + sin(2*pi*x).*exp(-4*pi^2*t);
I expect to obtain 0 but instead I get
y = -1.2246e-16
How can I solve this?... ritchie31
reading block of data from textfile147 (10/26/2012 11:32:08 PM) comp.soft-sys.matlab Hello Forum
I want to read blocks of data from file and plot them.
Here is the structure of the data:
wv(micr) Radius Vol Cext Csca w g
0.415 1.984 0.007 22.... ritchie31
.bash_profile modification428 (9/8/2012 10:51:09 PM) comp.unix.shell Hello Forum.
I modified my .bash_profile by adding a welcome message and showing me the data time as I saw in an example.
# .bash_profile
# This only runs on user login
echo ""
echo -n "Welcome to ... ritchie31
sphere.f program error F772138 (8/4/2012 7:13:01 PM) comp.lang.fortran Hello forum I tried to run this code with gfortran and I obtained the following error:
/tmp/cc28Ae5F.o: In function 'bhmie_':
sphere.f:(.text+0x1b49): undefined reference to `pio_'
collect2: ld returned ... ritchie31
help with pgi compiler473 (7/3/2012 1:44:20 AM) comp.lang.fortran I updated Fedora in my machine. It put gfortran compiler and now I do not know where is the pgi compiler. It does not recognize the call pgi77 for compiling.
Thanks in advance.
... ritchie31
medina.rc's replies:
Items(8) /1
running matlab from any directory340 (7/10/2011 4:04:11 AM) comp.unix.shell Hello, I have installed Matlab2009 in the path /usr/local/MATLAB/ R2009A/bin/matlab, and I want to run matlab from any directory. Can any help me?. Thanks ... medina.rc(51)
dynamic arrays for reading file345 (12/17/2011 11:48:11 PM) comp.lang.fortran Hello forum. I am reading a file of many columns of characteres and numbers from a file. I don't know the number of rows of the file. Is there any command like "wc" in linux to count the number of lines or colu... medina.rc(51)
file and dynamic array as parameters in subroutine634 (12/30/2011 8:05:12 AM) comp.lang.fortran Hello forum: Merry Chrismas and Happy New Year before all. I want my main program to call some subroutine that exists in another file. This subroutine basically receive a string and return a value (FILENAME, MY... medina.rc(51)
reading data from file1046 (1/10/2012 5:04:42 AM) comp.lang.fortran Hello forum (yeah it is me again). I am trying to read a real data from a file. I use a string character (STRING) as a variable to indicate me where is my data. My real data is next to this string (' AVERAGE ST... medina.rc(51)
plotting from different directories236 (2/22/2012 7:08:55 AM) comp.soft-sys.matlab Hello forum. I have an m-file that plot data. I have the same file in many directories. Basically, all the m-file do the same plotting but with different data values. My question is how to do a general plot fro... medina.rc(51)
gradient for bar plot2156 (3/4/2012 6:52:49 AM) comp.soft-sys.matlab Hello forum, I am plotting a bar with hundreds of data: h = bar(t,values) I would like to create a gradient from minval(values) to maxval(values). How to do that? Thanks ... medina.rc(51)
sphere.f program error F772138 (8/4/2012 7:13:01 PM) comp.lang.fortran Hello forum I tried to run this code with gfortran and I obtained the following error:
/tmp/cc28Ae5F.o: In function 'bhmie_':
sphere.f:(.text+0x1b49): undefined reference to `pio_'
collect2: ld returned ... medina.rc(51)
.bash_profile modification428 (9/8/2012 10:51:09 PM) comp.unix.shell Hello Forum.
I modified my .bash_profile by adding a welcome message and showing me the data time as I saw in an example.
# .bash_profile
# This only runs on user login
echo ""
echo -n "Welcome to ... medina.rc(51)