from bokeh.plotting import figure, output_file, show

x =[.1, .5, 1., 1.5, 2.0, 2.5, 3.0]
y0 = [i**2 for i in x]
y1 = [10**i for i in x]
y2 = [10**(i**2) for i in x]


output_file('log_axis.html')

p = figure(
    tools ='pan, box_zoom, reset, save',
    y_axis_type='log',
    y_range=[.001, 10**11],
    title='log axis example',
    x_axis_label ='sections',
    y_axis_label='particles'
            )
p.line(x, x, legend='y=x')
p.circle(x, x, legend='y=x', fill_color='white', size=8)
p.line(x, y0, legend='y=x^2', line_width=3)
p.line(x, y1, legend='y=10^x', line_color='red')
p.circle(x, y1, legend='y=10^x', fill_color='red', line_color='red', size=6)
p.line(x, y2, legend='y=10^x^2', line_color='orange', line_dash='4 4')

show(p)

52013ed2a9bc8a10e08046ca520307dcef04c856
<mask token>

<mask token>
output_file('log_axis.html')
<mask token>
p.line(x, x, legend='y=x')
p.circle(x, x, legend='y=x', fill_color='white', size=8)
p.line(x, y0, legend='y=x^2', line_width=3)
p.line(x, y1, legend='y=10^x', line_color='red')
p.circle(x, y1, legend='y=10^x', fill_color='red', line_color='red', size=6)
p.line(x, y2, legend='y=10^x^2', line_color='orange', line_dash='4 4')
show(p)

<mask token>
x = [0.1, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0]
y0 = [(i ** 2) for i in x]
y1 = [(10 ** i) for i in x]
y2 = [(10 ** i ** 2) for i in x]
output_file('log_axis.html')
p = figure(tools='pan, box_zoom, reset, save', y_axis_type='log', y_range=[
    0.001, 10 ** 11], title='log axis example', x_axis_label='sections',
    y_axis_label='particles')
p.line(x, x, legend='y=x')
p.circle(x, x, legend='y=x', fill_color='white', size=8)
p.line(x, y0, legend='y=x^2', line_width=3)
p.line(x, y1, legend='y=10^x', line_color='red')
p.circle(x, y1, legend='y=10^x', fill_color='red', line_color='red', size=6)
p.line(x, y2, legend='y=10^x^2', line_color='orange', line_dash='4 4')
show(p)

from bokeh.plotting import figure, output_file, show
x = [0.1, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0]
y0 = [(i ** 2) for i in x]
y1 = [(10 ** i) for i in x]
y2 = [(10 ** i ** 2) for i in x]
output_file('log_axis.html')
p = figure(tools='pan, box_zoom, reset, save', y_axis_type='log', y_range=[
    0.001, 10 ** 11], title='log axis example', x_axis_label='sections',
    y_axis_label='particles')
p.line(x, x, legend='y=x')
p.circle(x, x, legend='y=x', fill_color='white', size=8)
p.line(x, y0, legend='y=x^2', line_width=3)
p.line(x, y1, legend='y=10^x', line_color='red')
p.circle(x, y1, legend='y=10^x', fill_color='red', line_color='red', size=6)
p.line(x, y2, legend='y=10^x^2', line_color='orange', line_dash='4 4')
show(p)

from bokeh.plotting import figure, output_file, show

x =[.1, .5, 1., 1.5, 2.0, 2.5, 3.0]
y0 = [i**2 for i in x]
y1 = [10**i for i in x]
y2 = [10**(i**2) for i in x]


output_file('log_axis.html')

p = figure(
    tools ='pan, box_zoom, reset, save',
    y_axis_type='log',
    y_range=[.001, 10**11],
    title='log axis example',
    x_axis_label ='sections',
    y_axis_label='particles'
            )
p.line(x, x, legend='y=x')
p.circle(x, x, legend='y=x', fill_color='white', size=8)
p.line(x, y0, legend='y=x^2', line_width=3)
p.line(x, y1, legend='y=10^x', line_color='red')
p.circle(x, y1, legend='y=10^x', fill_color='red', line_color='red', size=6)
p.line(x, y2, legend='y=10^x^2', line_color='orange', line_dash='4 4')

show(p)
