Recent content by PetradR
-
P
Fortran Program to plot multiple datasets on a single graph in Fortran95
I went back to the original code I had at the start of the post - because I deleted to much. and destroyed all the work I had done. So back to where I began. :-( Cheer- PetradR
- Post #21
- Forum: Programming and Computer Science
-
P
Fortran Program to plot multiple datasets on a single graph in Fortran95
Greetings Sorry a little confused here, what do you mean by explicit listing? Sorry not sure what you mean here, at the beginning of the post - I posted all the information of the program. I'm running windows and using Plato32 to compile. Used fortran95 manual for the program language. I...- PetradR
- Post #20
- Forum: Programming and Computer Science
-
P
Fortran Program to plot multiple datasets on a single graph in Fortran95
I'm trying to nut out the problem and this is the error i received. Can you suggest someone on the forum who may be able to assist with this. I do appreciate your assistance, but I'm not getting anyway with this atm. Cheers- PetradR
- Post #17
- Forum: Programming and Computer Science
-
P
Fortran Program to plot multiple datasets on a single graph in Fortran95
Greetings The only error I am getting when i run it is this, can you explain this part Compiling and linking file: Test.f95 (40) : error 564 - Number found where an operator was expected Compilation failed.- PetradR
- Post #15
- Forum: Programming and Computer Science
-
P
Fortran Program to plot multiple datasets on a single graph in Fortran95
I understand the physics and the astronomy, all I am doing is to trying to organise the programing to run these equations. I can get the info to run, but some reason I'm getting more information than I need. It would be great if someone has a Fortran95 background and can run a quick eye over...- PetradR
- Post #13
- Forum: Programming and Computer Science
-
P
Fortran Program to plot multiple datasets on a single graph in Fortran95
These are the five sets of data I should have so I can plot on an x y axis. I think I have more information than I need. I would be helpful - someone could tell me what I do and don't need in the code. d_L = S*(1 + z_max) !Eq. (29.184) in units of c/H_0 d_p0 =...- PetradR
- Post #11
- Forum: Programming and Computer Science
-
P
Fortran Program to plot multiple datasets on a single graph in Fortran95
Hi there, I should have 5 columns of numbers to then plot on an x y axis. So all five sets of data should appear on the same graph at the end of the day. I'm okay with excel and doing the plot- i just need to generate the 5 columns of info. I should have quite a few numbers in each column -...- PetradR
- Post #9
- Forum: Programming and Computer Science
-
P
Fortran Program to plot multiple datasets on a single graph in Fortran95
Greetings there I tested it on an online compiler and it gave me 7 lines of numbers..which I only need 5. I don't know what "print statements inside loops means"? I don't know "Or do you kill it?" means I don't know "can write to the same file or to another file. I suggest making a smaller...- PetradR
- Post #5
- Forum: Programming and Computer Science
-
P
Fortran Program to plot multiple datasets on a single graph in Fortran95
Greetings I'm pretty much flying by the seat of my pants on this..using notes and manuals to try and nut this out. I should note that programming is not my thing, but the task is to try a simple program to answer a question. Yes, it will be zero (i think). I'm unfamiliar with debuggers and...- PetradR
- Post #3
- Forum: Programming and Computer Science
-
P
What can I expect as a newcomer to this forum? Introducing myself as Petra.
Hi my name is Petra I'm new to the forum. Cheers Petra- PetradR
- Thread
- Replies: 1
- Forum: New Member Introductions
-
P
Fortran Program to plot multiple datasets on a single graph in Fortran95
PROGRAM Test IMPLICIT NONE REAL, PARAMETER :: Omega_m0 = 0.27, Omega_rel0 = 8.24E-5, Omega_L0 = 0.73, Omega_0 = 1.02 REAL :: z_max, z, dz REAL :: I, g_z, g_zplus, S REAL :: d_p0, d_L, d_A, d_nr, d_r INTEGER :: n = 100000 OPEN(UNIT = 10) z_max = 0 DO WHILE (z_max <= 4.001) dz = z_max/n...- PetradR
- Thread
- Fortran95 Graph Multiple Plot Program
- Replies: 23
- Forum: Programming and Computer Science