{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "21:08:36.601 [DefaultDispatcher-worker-1] INFO ktor.application - No ktor.deployment.watch patterns specified, automatic reload is not active\n", "21:08:36.645 [DefaultDispatcher-worker-1] INFO ktor.application - Responding at http://0.0.0.0:8882\n" ] }, { "data": { "text/html": [ "
\n", "\n", "\n", "\n" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "%use plotly" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "ExecuteTime": { "end_time": "2020-08-07T11:08+0300", "start_time": "2020-08-07T11:08+0300" } }, "outputs": [ { "data": { "text/html": [ "
\n", "
\n", " \n", " \n", "
\n", "
\n" ] }, "execution_count": 2, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Plotly.plot {\n", " scatter {\n", " x(2, 3, 4, 5)\n", " y(10, 15, 13, 17)\n", " }\n", "\n", " text {\n", " position(2, 10)\n", " font {\n", " size = 18\n", " }\n", " text = \"\\$\\\\alpha\\$\"\n", " }\n", "\n", " text {\n", " position(5, 17)\n", " font {\n", " size = 18\n", " }\n", " text = \"\\$\\\\Omega\\$\"\n", " }\n", "\n", " layout {\n", " title {\n", " text = \"\\$\\\\text{Plot with annotations } \\\\alpha~and~\\\\Omega\\$\"\n", " }\n", " }\n", "}" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "hide_input": false, "kernelspec": { "display_name": "Kotlin", "language": "kotlin", "name": "kotlin" }, "language_info": { "codemirror_mode": "text/x-kotlin", "file_extension": ".kt", "mimetype": "text/x-kotlin", "name": "kotlin", "pygments_lexer": "kotlin", "version": "1.4.20-dev-2342" }, "toc": { "base_numbering": 1, "nav_menu": {}, "number_sections": false, "sideBar": false, "skip_h1_title": false, "title_cell": "Table of Contents", "title_sidebar": "Contents", "toc_cell": false, "toc_position": {}, "toc_section_display": false, "toc_window_display": false } }, "nbformat": 4, "nbformat_minor": 4 }