A rotated flower plotted via python (animated)
Python #Plot
All the python study code can be found in my own repository.
As a study of Python data visualization, I plot a 3D follower and let it rotated horizontally. The packages I used are
python
1 | import subprocess |
The follower is defined via the following data
python
1 | [x, t] = np.meshgrid(np.array(range(25))/24.0, |
and the init function is as follows
python
1 | def init(): |
An animate function
python
1 | def animate(i): |
plot and save
python
1 | n = 'rotate_azimuth_angle_3d_flower' |
The generated flowers are as follows
Flowers
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
Comment
Powered By Valine
v1.5.2
v1.5.2