Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

how to use idl in python

>>> from idlpy import IDL
>>> arr = IDL.findgen(100)/50*3.14159
>>> x = 50*IDL.sin(arr)
>>> y = 50*IDL.cos(arr)
>>> m = IDL.map(test=1)
% Compiled module: MAP.
>>> p = IDL.plot(x - 90, y, 'r-o2', overplot=1)
% Compiled module: PLOT.
>>> p = IDL.plot(x + 90, y, 'b-o2', overplot=1)
>>> m.save('map.png', resolution=96, border=0, transparent=1)
Comment

PREVIOUS NEXT
Code Example
Python :: python to exe converter online 
Python :: Fish market linear regression implementattion 
Python :: Recursive Folder scan 
Python :: discord.File(fp=image_binary,filename=name) discord py 
Python :: undefined variable in python 
Python :: kivymd how to acces screen through screenmanager 
Python :: quadre 
Python :: pip django graphql 
Python :: List of Pydantic model. List[BaseModel] 
Python :: create multi new column from apply pandas 
Python :: dividing counter object in python 
Python :: one liner if else replacement in python 
Python :: openign in browser python 
Python :: pylesson 
Python :: how can I get response from amazon with beautiful soap if I get 503? 
Python :: variable plus one python 
Python :: python last letter of string 
Python :: To install a specific version, type the package name followed by the required version: 
Python :: how to subtract up everything in a list python 
Python :: pie chart eda syntax 
Python :: how to insert image in python 
Python :: Random Hex Colors bar generator, python turtle 
Python :: Requests-html absolute url 
Python :: python inline web server 
Python :: et.dump export file to xml write method output 
Python :: Get the positions of items of ser2 in ser1 as a list python 
Python :: long press selenium python 
Python :: flask buildspec.yml 
Python :: group by weekhour 
Python :: featch detail of subscription in stripe api 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =