I. Introduction
Figures and plots are the indispensable tools for data visualization which provide people with intuitive understanding of data and interaction with data. In software engineering, almost all the programming languages support such functions and possess a series of relevant APIs as one of core libraries or packages. It is very common for the software developer particularly the beginner to search API on the web based on a case figure for guiding the plot. Figure 1 shows a help post where a developer asks how to draw a figure like the one posts in Stack Overflow. What’s more, people might want to know the APIs starting from a plot, such as imitating visualization styles. In agile development, developers often sufficiently utilize the materials of previous projects for speeding up the development, thereby they expect to convert the figures plotted in one language into APIs of the other directly to reduce the time cost. In these scenarios, a tool that can automatically recommend graphic APIs based on a plot can provide guidance for developers and improve their productivity. Therefore, how to identify API based on Plot (Plot2API) is a meaningful task in software engineering and data visualization.