Browse Source

replace variable 'gridwidth' by 'xgridwidth'

pre-master-46
Holger Vogt 6 years ago
parent
commit
1919cf5c94
  1. 4
      examples/utf-8/стекло/ext-utf8-2.cir
  2. 4
      examples/utf-8/стекло/ext-utf8-3.cir
  3. 4
      examples/utf-8/стекло/ext-utf8-c.cir
  4. 4
      examples/utf-8/стекло/ext-utf8-c2.cir
  5. 4
      examples/utf-8/стекло/ext-utf8-c4.cir
  6. 4
      examples/utf-8/стекло/있어요/ext-utf8-3.cir
  7. 2
      src/frontend/plotting/gnuplot.c
  8. 2
      src/frontend/plotting/x11.c
  9. 2
      src/frontend/postsc.c
  10. 2
      src/frontend/wdisp/windisp.c

4
examples/utf-8/стекло/ext-utf8-2.cir

@ -15,7 +15,7 @@ set wfont_size=18
setcs xfont='Noto Sans Chinese' setcs xfont='Noto Sans Chinese'
*set xfont_size=18 *set xfont_size=18
set gridwidth=4
set xgridwidth=4
set xbrushwidth=1 set xbrushwidth=1
plot y vs x xlabel 'Labellisé X' ylabel 'Labellisé Y: ÜüÖöÄäÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ' title 'Titré' plot y vs x xlabel 'Labellisé X' ylabel 'Labellisé Y: ÜüÖöÄäÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ' title 'Titré'
@ -23,7 +23,7 @@ plot y vs x xlabel '我能吞下玻璃而不伤身体' ylabel 'Я могу ес
* With Linux the next one requires: export LC_CTYPE ="de_DE.UTF-8" * With Linux the next one requires: export LC_CTYPE ="de_DE.UTF-8"
gnuplot test.gn y vs x xlabel 'Labellisé X' ylabel 'tüTÄtö Äü @µ€~' title 'ฉันกินกระจกได้ แต่มันไม่ทำให้ฉันเจ็บ ' gnuplot test.gn y vs x xlabel 'Labellisé X' ylabel 'tüTÄtö Äü @µ€~' title 'ฉันกินกระจกได้ แต่มันไม่ทำให้ฉันเจ็บ '
set gridwidth=1
set xgridwidth=1
set xbrushwidth=4 set xbrushwidth=4
plot y vs x+0.001 xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré 私はガラスを食べられます。それは私を傷つけません' loglog plot y vs x+0.001 xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré 私はガラスを食べられます。それは私を傷つけません' loglog

4
examples/utf-8/стекло/ext-utf8-3.cir

@ -23,7 +23,7 @@ set wfont_size=18
setcs xfont='Noto Sans' setcs xfont='Noto Sans'
*set xfont_size=18 *set xfont_size=18
set gridwidth=4
set xgridwidth=4
set xbrushwidth=1 set xbrushwidth=1
*hardcopy *hardcopy
@ -36,7 +36,7 @@ if $oscompiled = 6
endif endif
gnuplot test.gn y vs x xlabel 'Labellisé X' ylabel 'tüTÄtö Äü @µ€~' title 'ฉันกินกระจกได้ แต่มันไม่ทำให้ฉันเจ็บ ' gnuplot test.gn y vs x xlabel 'Labellisé X' ylabel 'tüTÄtö Äü @µ€~' title 'ฉันกินกระจกได้ แต่มันไม่ทำให้ฉันเจ็บ '
set gridwidth=1
set xgridwidth=1
set xbrushwidth=4 set xbrushwidth=4
plot y vs x+0.001 xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré 私はガラスを食べられます。それは私を傷つけません' loglog plot y vs x+0.001 xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré 私はガラスを食べられます。それは私を傷つけません' loglog

4
examples/utf-8/стекло/ext-utf8-c.cir

@ -17,7 +17,7 @@ set wfont_size=18
setcs xfont='Noto Sans' setcs xfont='Noto Sans'
*set xfont_size=18 *set xfont_size=18
set gridwidth=4
set xgridwidth=4
set xbrushwidth=1 set xbrushwidth=1
set color0=white set color0=white
set color2=brown set color2=brown
@ -29,7 +29,7 @@ plot y vs x xlabel '我能吞下玻璃而不伤身体' ylabel 'Я могу ес
set color0=Blue set color0=Blue
set color1=Yellow set color1=Yellow
set color2=Lime set color2=Lime
set gridwidth=1
set xgridwidth=1
set xbrushwidth=4 set xbrushwidth=4
plot y vs x+0.001 xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré 私はガラスを食べられます。それは私を傷つけません' loglog plot y vs x+0.001 xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré 私はガラスを食べられます。それは私を傷つけません' loglog
unset color1 unset color1

4
examples/utf-8/стекло/ext-utf8-c2.cir

@ -17,7 +17,7 @@ set wfont_size=18
setcs xfont='Noto Sans' setcs xfont='Noto Sans'
*set xfont_size=18 *set xfont_size=18
set gridwidth=4
set xgridwidth=4
set xbrushwidth=1 set xbrushwidth=1
set color0=white set color0=white
*set color2=brown *set color2=brown
@ -30,7 +30,7 @@ plot y vs x xlabel '我能吞下玻璃而不伤身体' ylabel 'Я могу ес
set color0=Blue set color0=Blue
set color1=Yellow set color1=Yellow
set color2=rgb:00/FF/00 set color2=rgb:00/FF/00
set gridwidth=1
set xgridwidth=1
set xbrushwidth=4 set xbrushwidth=4
plot y vs x+0.001 xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré 私はガラスを食べられます。それは私を傷つけません' loglog plot y vs x+0.001 xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré 私はガラスを食べられます。それは私を傷つけません' loglog
unset color1 unset color1

4
examples/utf-8/стекло/ext-utf8-c4.cir

@ -11,7 +11,7 @@ setcs xfont='Noto Sans CJK JP'
*setcs xfont='맑은 고딕' *setcs xfont='맑은 고딕'
set xfont_size=20 set xfont_size=20
set gridwidth=1
set xgridwidth=1
set xbrushwidth=8 set xbrushwidth=8
set color2=rgbd:0/126/0 set color2=rgbd:0/126/0
set color0=blue set color0=blue
@ -22,7 +22,7 @@ set color2=rgbd:0/0/255
set color1=rgb:0/0/0 set color1=rgb:0/0/0
set color0=white set color0=white
set xbrushwidth=4 set xbrushwidth=4
set gridwidth=2
set xgridwidth=2
set nolegend set nolegend
plot y vs x xlabel '나는 유리를 먹을 수 있어요' ylabel 'それは私を傷つけません' title ' أنا قادر على أكل الزجاج و هذا لا يؤلمني.' plot y vs x xlabel '나는 유리를 먹을 수 있어요' ylabel 'それは私を傷つけません' title ' أنا قادر على أكل الزجاج و هذا لا يؤلمني.'
echo 나는 유리를 먹을 수 있어요. 그래도 아프지 않아요 echo 나는 유리를 먹을 수 있어요. 그래도 아프지 않아요

4
examples/utf-8/стекло/있어요/ext-utf8-3.cir

@ -15,7 +15,7 @@ set wfont_size=18
setcs xfont='Noto Sans CJK JP Medium' setcs xfont='Noto Sans CJK JP Medium'
*set xfont_size=16 *set xfont_size=16
set gridwidth=4
set xgridwidth=4
set xbrushwidth=1 set xbrushwidth=1
set nolegend set nolegend
@ -27,7 +27,7 @@ plot y vs x xlabel '我能吞下玻璃而不伤身体' ylabel 'Я могу
* With Linux the next one requires: export LC_CTYPE ="de_DE.UTF-8" * With Linux the next one requires: export LC_CTYPE ="de_DE.UTF-8"
**gnuplot test.gn y vs x xlabel 'Labellisé X' ylabel 'tüTÄtö Äü @µ€~' title 'ฉันกินกระจกได้ แต่มันไม่ทำให้ฉันเจ็บ ' **gnuplot test.gn y vs x xlabel 'Labellisé X' ylabel 'tüTÄtö Äü @µ€~' title 'ฉันกินกระจกได้ แต่มันไม่ทำให้ฉันเจ็บ '
set gridwidth=1
set xgridwidth=1
set xbrushwidth=4 set xbrushwidth=4
**plot y vs x+0.001 xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré 私はガラスを食べられます。それは私を傷つけません' loglog **plot y vs x+0.001 xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré 私はガラスを食べられます。それは私を傷つけません' loglog

2
src/frontend/plotting/gnuplot.c

@ -113,7 +113,7 @@ void ft_gnuplot(double *xlims, double *ylims,
if (linewidth < 1) if (linewidth < 1)
linewidth = 1; linewidth = 1;
/* get linewidth for grid from .spiceinit */ /* get linewidth for grid from .spiceinit */
if (!cp_getvar("gridwidth", CP_NUM, &gridlinewidth, 0))
if (!cp_getvar("xgridwidth", CP_NUM, &gridlinewidth, 0))
gridlinewidth = 1; gridlinewidth = 1;
if (gridlinewidth < 1) if (gridlinewidth < 1)
gridlinewidth = 1; gridlinewidth = 1;

2
src/frontend/plotting/x11.c

@ -569,7 +569,7 @@ X11_NewViewport(GRAPH *graph)
gcvalues.line_width = graph->graphwidth = linewidth; gcvalues.line_width = graph->graphwidth = linewidth;
/* get linewidth information from .spiceinit or .control section */ /* get linewidth information from .spiceinit or .control section */
if (!cp_getvar("gridwidth", CP_NUM, &gridlinewidth, 0))
if (!cp_getvar("xgridwidth", CP_NUM, &gridlinewidth, 0))
gridlinewidth = MW_LINEWIDTH; gridlinewidth = MW_LINEWIDTH;
if (gridlinewidth < 0) if (gridlinewidth < 0)
gridlinewidth = MW_LINEWIDTH; gridlinewidth = MW_LINEWIDTH;

2
src/frontend/postsc.c

@ -182,7 +182,7 @@ int PS_Init(void)
linewidth = 0; linewidth = 0;
/* get linewidth for grid from spinit */ /* get linewidth for grid from spinit */
if (!cp_getvar("gridwidth", CP_REAL, &gridlinewidth, 0))
if (!cp_getvar("xgridwidth", CP_REAL, &gridlinewidth, 0))
gridlinewidth = linewidth; gridlinewidth = linewidth;
if (gridlinewidth < 0) if (gridlinewidth < 0)
gridlinewidth = 0; gridlinewidth = 0;

2
src/frontend/wdisp/windisp.c

@ -781,7 +781,7 @@ int WIN_NewViewport(GRAPH *graph)
graph->graphwidth = linewidth; graph->graphwidth = linewidth;
/* get linewidth information from .spiceinit or .control section */ /* get linewidth information from .spiceinit or .control section */
if (!cp_getvar("gridwidth", CP_NUM, &gridlinewidth, 0))
if (!cp_getvar("xgridwidth", CP_NUM, &gridlinewidth, 0))
gridlinewidth = 0; gridlinewidth = 0;
if (gridlinewidth < 0) if (gridlinewidth < 0)
gridlinewidth = 0; gridlinewidth = 0;

Loading…
Cancel
Save