diff --git a/src/draw.c b/src/draw.c index ab161144..130aea67 100644 --- a/src/draw.c +++ b/src/draw.c @@ -3358,7 +3358,7 @@ void setup_graph_data(int i, int skip, Graph_ctx *gr) gr->digtxtsizelab = 0.000900 * fabs( gr->h / gr->posh * gr->gh ); else gr->digtxtsizelab = 0.001200 * fabs( gr->h / gr->posh * gr->gh ); - gr->txtsizelab *= gr->magx; + gr->txtsizelab *= gr->maglegend; /* x axis, y axis text sizes */ gr->txtsizey = gr->h / gr->divy * 0.0095; @@ -3374,7 +3374,7 @@ void setup_graph_data(int i, int skip, Graph_ctx *gr) if(tmp < gr->txtsizex) gr->txtsizex = tmp; gr->txtsizex *= gr->magx; - /* signal names (legend) size. */ + /* signal names (vertical legend) size. */ gr->txtsizelegend = gr->h * 0.00095; gr->txtsizelegend *= gr->maglegend; dbg(1, "setup_graph_data(): txtsizelegend=%g, maglegend=%g\n", gr->txtsizelegend, gr->maglegend); diff --git a/src/xschem.tcl b/src/xschem.tcl index c341d3f7..a2f9d24d 100644 --- a/src/xschem.tcl +++ b/src/xschem.tcl @@ -3796,7 +3796,7 @@ proc graph_edit_properties {n} { xschem draw_graph $graph_selected } - label .graphdialog.top5.xlabmag -text { X/Y lab mag:} + label .graphdialog.top5.xlabmag -text { X lab mag:} entry .graphdialog.top5.xmag -width 4 entry_replace_selection .graphdialog.top5.xmag bind .graphdialog.top5.xmag { @@ -3805,7 +3805,7 @@ proc graph_edit_properties {n} { xschem draw_graph $graph_selected } - label .graphdialog.top5.ylabmag -text { } + label .graphdialog.top5.ylabmag -text { Y lab mag:} entry .graphdialog.top5.ymag -width 4 entry_replace_selection .graphdialog.top5.ymag bind .graphdialog.top5.ymag {