The 10^{-2} scaling label is incorrect and unasked for. Turn it off by:
\begin{axis}[scaled y ticks=false,
import Image, gzip, os, StringIO
def unzip_file(filename):
fileObj = gzip.GzipFile(filename, 'rb');
fileContent = fileObj.read()
fileObj.close()
return(fileContent)
def gz2png():
# get the directory listing
files = os.listdir('.')
for i in files:
# import the zipfile
if '.gz' in i:
print i,
data = unzip_file(i)
# Convert this data into an image object.
im = Image.open(StringIO.StringIO(data))
# Use pil to convert to .png and save it for external compilation.
f2 = i.split('.')[0] + '.png'
im.save(f2)
print ' -> ', f2
mkdir ~/downloads/latex/circuitikz
~/downloads/latex/circuitikz
# for latex packages, installed to ~/latex/:
export TEXINPUTS=/home/login/downloads/latex//:
sudo texhash
\ctikzset{bipoles/length = 1.4 cm} % careful of whitespace here with /, and when using 5: NO WHITESPACE!
\begin{circuitikz}[scale = 1.2]
\draw (0, 0) node[anchor = east] {B}
to[short, o-*] (1,0)
to [R=20<\ohm>, *-*] (1,2)
to [R=10<\ohm>, v=$v_{x}$] (3,2) -- (4,2)
to [cI = $\frac{\siemens}{5} v_{x}$, *-*] (4,0) -- (3,0)
to [R = 5<\ohm>, *-*] (3,2) % no whitespace between 5 and
(3,0) -- (1,0)
(1,2) to [short, -o] (0,2) node[anchor = east] {A};
\end{circuitikz}
! Package siunitx Error: Invalid character `20 ' in numerical input.
See the siunitx package documentation for explanation.
Type Hfor immediate help.
...
l.44 to [R=20 <\ohm>, *-*] (1,2)
^^M
sudo update-rc.d -f umountnfs.sh remove
sudo update-rc.d umountnfs.sh stop 15 0 6 .
and it was!