replace variable 'gridwidth' by 'xgridwidth'

This commit is contained in:
Holger Vogt 2020-02-22 15:50:19 +01:00
parent 088a1e87c7
commit b26c054f51
10 changed files with 16 additions and 16 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -569,7 +569,7 @@ X11_NewViewport(GRAPH *graph)
gcvalues.line_width = graph->graphwidth = linewidth;
/* 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;
if (gridlinewidth < 0)
gridlinewidth = MW_LINEWIDTH;

View File

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

View File

@ -781,7 +781,7 @@ int WIN_NewViewport(GRAPH *graph)
graph->graphwidth = linewidth;
/* 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;
if (gridlinewidth < 0)
gridlinewidth = 0;