1 | initial version |
Some way to make them go is:
from matplotlib import rcParams
rcParams['xtick.major.size'] = rcParams['xtick.minor.size'] = 0
rcParams['ytick.major.size'] = rcParams['ytick.minor.size'] = 0
a,b,c,x,y = var('a b c x y')
from matplotlib import spines, axes
i = 2
p = region_plot(
tan(x^2 - y^2)>0,
(-i*pi,+i*pi), (-i*pi,+i*pi),linewidths=0,
incol='yellow',outcol='white',plot_points=500,fontsize=16)
p
2 | No.2 Revision |
Some way to make them go is:
from matplotlib import rcParams
rcParams['xtick.major.size'] = rcParams['xtick.minor.size'] = 0
rcParams['ytick.major.size'] = rcParams['ytick.minor.size'] = 0
a,b,c,x,y = var('a b c x y')
from matplotlib import spines, axes
i = 2
p = region_plot(
tan(x^2 - y^2)>0,
(-i*pi,+i*pi), (-i*pi,+i*pi),linewidths=0,
incol='yellow',outcol='white',plot_points=500,fontsize=16)
p
3 | No.3 Revision |
Some way to make them go is:
from matplotlib import rcParams
rcParams['xtick.major.size'] = rcParams['xtick.minor.size'] = 0
rcParams['ytick.major.size'] = rcParams['ytick.minor.size'] = 0
a,b,c,x,y = var('a b c x y')
i = 2
p = region_plot(
tan(x^2 - y^2)>0,
(-i*pi,+i*pi), (-i*pi,+i*pi),linewidths=0,
incol='yellow',outcol='white',plot_points=500,fontsize=16)
incol='yellow',outcol='white',plot_points=500,fontsize=16,
ticks=[pi/2,pi/2],tick_formatter=[pi,pi])
p
4 | No.4 Revision |
Some way to make them go is:
from matplotlib import rcParams
rcParams['xtick.major.size'] = rcParams['xtick.minor.size'] = 0
rcParams['ytick.major.size'] = rcParams['ytick.minor.size'] = 0
a,b,c,x,y = var('a b c x y')
i = 2
p = region_plot(
tan(x^2 - y^2)>0,
(-i*pi,+i*pi), (-i*pi,+i*pi),linewidths=0,
incol='yellow',outcol='white',plot_points=500,fontsize=16,
ticks=[pi/2,pi/2],tick_formatter=[pi,pi])
p
If you need the ticks outside, you can try:
a,b,c,x,y = var('a b c x y')
i = 2
p = contour_plot(
tan(x^2 - y^2),
(-i*pi,+i*pi), (-i*pi,+i*pi),linewidths=0,
contours=[0,0.001],cmap='coolwarm',
plot_points=500,fontsize=16,
ticks=[pi/2,pi/2],tick_formatter=[pi,pi])
p
5 | No.5 Revision |
Some way to make them go is:
from matplotlib import rcParams
rcParams['xtick.major.size'] = rcParams['xtick.minor.size'] = 0
rcParams['ytick.major.size'] = rcParams['ytick.minor.size'] = 0
a,b,c,x,y = var('a b c x y')
i = 2
p = region_plot(
tan(x^2 - y^2)>0,
(-i*pi,+i*pi), (-i*pi,+i*pi),linewidths=0,
incol='yellow',outcol='white',plot_points=500,fontsize=16,
ticks=[pi/2,pi/2],tick_formatter=[pi,pi])
p
If you need the ticks outside, you can try:
p.show(frame=True,axes=False)
or
a,b,c,x,y = var('a b c x y')
i = 2
p = contour_plot(
tan(x^2 - y^2),
(-i*pi,+i*pi), (-i*pi,+i*pi),linewidths=0,
contours=[0,0.001],cmap='coolwarm',
plot_points=500,fontsize=16,
ticks=[pi/2,pi/2],tick_formatter=[pi,pi])
p