aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/graph/graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/graph/graph.c')
-rw-r--r--src/cmd/graph/graph.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cmd/graph/graph.c b/src/cmd/graph/graph.c
index 7da0b81b..1dba7dfc 100644
--- a/src/cmd/graph/graph.c
+++ b/src/cmd/graph/graph.c
@@ -15,7 +15,7 @@ struct xy {
float xquant; /*quantum*/
float xoff; /*screen offset fraction*/
float xsize; /*screen fraction*/
- int xbot,xtop; /*screen coords of border*/
+ int xbot,xtop; /*screen coords of border*/
float xmult; /*scaling constant*/
} xd,yd;
struct val {
@@ -83,7 +83,7 @@ static void
initpalette(void)
{
int i;
-
+
for(i=0; i<nelem(colors); i++){
palette[(uchar)colors[i][0]].name = colors[i];
palette[(uchar)colors[i][0]].next = colors[i][0];
@@ -442,12 +442,12 @@ void setlim(struct xy *p){
if(ub > 0) {
ub = 2*ub;
lb = 0;
- }
+ }
else
if(lb < 0) {
lb = 2*lb;
ub = 0;
- }
+ }
else {
ub = 1;
lb = -1;
@@ -729,7 +729,7 @@ symbol(int ix, int iy, int k){
if(mode==0)
point(ix,iy);
return(1);
- }
+ }
else {
move(ix,iy);
text(k>=0?labels+k:plotsymb);