From 74ce1f5b744d113cfc7f2c67c8cf22d9950e8a14 Mon Sep 17 00:00:00 2001
From: fahimkhan
Date: Thu, 18 Aug 2016 16:24:23 +0530
Subject: Removed unneccessary margin
---
views/index.html | 26 +++++++++++++++++++-------
1 file changed, 19 insertions(+), 7 deletions(-)
diff --git a/views/index.html b/views/index.html
index 80ad76e..e3c8d72 100644
--- a/views/index.html
+++ b/views/index.html
@@ -115,6 +115,8 @@ v1 in gnd pwl(0m 0 0.5m 5 50m 5 50.5m 0 100m 0)
+
+
© 2016 FOSSEE, IIT Bombay
@@ -239,14 +241,24 @@ v1 in gnd pwl(0m 0 0.5m 5 50m 5 50.5m 0 100m 0)
var layout = {
title:'Simulation Output',
- yaxis: { title: "Voltage(Volts) / Current(Amp)"}, // set the y axis title
+ yaxis: {
+ title: "Voltage(Volts) / Current(Amp)", // set the y axis title
+ titlefont: {
+ family: 'Courier New, monospace',
+ size: 15,
+ color: '#7f7f7f'
+ }
+
+ },
xaxis: {
- title:"time(Sec) / Frequency(Hz)",
- showgrid: true // remove the x-axis grid lines
- },
- margin: { // update the left, bottom, right, top margin
- l: 40, b: 25, r: 10, t: 25
- }
+ title:"time(Sec) / Frequency(Hz)",
+ showgrid: true, // remove the x-axis grid lines
+ titlefont: {
+ family: 'Courier New, monospace',
+ size: 15,
+ color: '#7f7f7f'
+ }
+ }
};
Plotly.newPlot(document.getElementById('graph'), dataForPlotly, layout);
--
cgit