JoKKeR
Full Member level 2
Atm. im working on solar heating project and i need many things calculated and visualized. Also on the way im learning c programming.
I need X Y type plot like thing.
So iv written a code to output variables to .TXT file and then im using MS office (excel) to visualize . TXT file seems ok but i cant build chart in some weird way. All seems right but i cant see line between axes.
Are there other ways to display data straight from program ?
I need X Y type plot like thing.
So iv written a code to output variables to .TXT file and then im using MS office (excel) to visualize . TXT file seems ok but i cant build chart in some weird way. All seems right but i cant see line between axes.
Are there other ways to display data straight from program ?
Code:
#include<stdio.h>
#include <math.h>
int main()
{
int a = 0;
double b = 1;
double c = 1;
FILE *f;
f = fopen("test.txt","w");
while (a < 1000){
a++;
b = b * 1.01;
fprintf(f,"%2.3f %d 1 \n",b, a);
}
system("PAUSE");
return 0;
}