~fuzzgun/fin/trunk

« back to all changes in this revision

Viewing changes to src/plot.c

  • Committer: Bob Mottram
  • Date: 2012-10-07 19:54:54 UTC
  • Revision ID: fuzzgun@gmail.com-20121007195454-xv6xvfye16d442ib
tidying

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
                fprintf(fp,"%s","set lmargin 9\n");
126
126
                fprintf(fp,"%s","set rmargin 2\n");
127
127
                sprintf(amountstr,"%s",get_text_from_identifier(AMOUNT));
128
 
                if (amountstr!=0) {
129
 
                        if (strlen(amountstr)>0) {
130
 
                                amountstr[0] = toupper(amountstr[0]);
131
 
                                fprintf(fp,"set xlabel \"%s\"\n", amountstr);
132
 
                        }
 
128
                if (strlen(amountstr)>0) {
 
129
                        amountstr[0] = toupper(amountstr[0]);
 
130
                        fprintf(fp,"set xlabel \"%s\"\n", amountstr);
133
131
                }
134
132
                fprintf(fp,"set ylabel \"%s\"\n",
135
133
                                get_text_from_identifier(FREQUENCY));