Image

Nid yw’r ategyn hwn wedi cael ei ddiweddaru ers 3 ryddhad mawr. Efallai nad yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio gyda fersiynau mwy diweddar o WordPress.

Image

Plot.wp

Disgrifiad

Plot.wp enables the [plotly] shortcode, allowing easy inclusion of JSON-based plots using the plotly API. Just add valid plotly JSON between the [plotly] and [/plotly] shortcodes, and revel as an interactive plot appears in your post.

Lluniau Sgrin

  • Image
    A plot created with the [plotly]...[/plotly] shortcode.

Gosod

Upload the Plot.wp plugin to your blog, Activate it, then use the [plotly]...[/plotly] shortcode to start plotting!

Cwestiynau Cyffredin

How do I add a plot to my post/page?

Plots are added using the [plotly]...[/plotly] shortcode. In between the shortcode must be a valid JSON object that will be passed to Plotly.plot('myDiv', ...).

[plotly] {   "data": [{     "x": [1, 2, 3, 4],     "y": [27, 28, 29, 50],     "mode": "lines+markers",     "type": "scatter"   }],   "layout": {     "margin": {       "t": 40, "r": 40, "b": 40, "l":40     }   } } [/plotly] 

For more information about the plotly.js API, see the online documentation.

Adolygiadau

There are no reviews for this plugin.

Contributors & Developers

“Plot.wp” is open source software. The following people have contributed to this plugin.

Cyfranwyr

Translate “Plot.wp” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Cofnod Newid

0.4

Release Date – 10 November 2016

  • First release of the Plot.wp plugin.