Template:Toyama/Matrix: Difference between revisions

No edit summary
mNo edit summary
Line 14: Line 14:
{{#graph:vbar|size=600x200;title={{PAGENAME}};legend=0x0;
{{#graph:vbar|size=600x200;title={{PAGENAME}};legend=0x0;
{{#lua:
{{#lua:
label = ""
  label = ""
data  = ""
  data  = ""
for i,j in stdin:gmatch("&&([%S ]+)&&([-.0-9]+)") do
  for i,j in stdin:gmatch("&&([%S ]+)&&([-.0-9]+)") do
  label = label .. "," .. i
    label = label .. "," .. i
  data  = data .. "," .. j
    data  = data .. "," .. j
end
  end
label = string.sub(label,1)
  label = string.sub(label,1)
data = string.sub(data,1)
  data = string.sub(data,1)
print("label=" .. label .. ";data=" .. data)
  print("label=" .. label .. ";data=" .. data)
|{{{1}}}
|{{{1}}}
}}
}}
}}
}}
<!--- 他のページとの相関 --->
<!--- 他のページとの相関 --->
 
{{#lua:
  for line in stdin:gmatch("([%S ]+)") do
    print (line)
  end
| {{Toyama/A375}} {{{1}}}
}}


{| class="wikitable sortable"
{| class="wikitable sortable"

Revision as of 21:31, 5 October 2009

{{#lua:

 for line in stdin:gmatch("([%S ]+)") do
   print (line)
 end

| Template:Toyama/A375 {{{1}}} }}

Metabolite Activity