python


Ideas about the following plot


I have created the following plot, which represent 2 arrays, one are real values and the other is the ground truth. The size of the two arrays are very different:
ground truth ~ 1000 values
real values ~ 50 values
The plot has to be as suggestive as possible so the two can be compared
plot:
code:
x, y = np.loadtxt('Import//plot_gt.csv',delimiter=',',unpack=True)
x1, y1 = np.loadtxt('Import//plot_rl.csv',delimiter=',',unpack=True)
fig = plt.figure()
ax1 = plt.subplot2grid((1,1),(0,0))
ax1.step(x1,y1,linewidth=2,color='#a01422',label='Real values')
ax1.step(x,y,linewidth=1,marker='o',markersize=10,color='#adba3b',label='Ground truth',alpha=0.8)
fill_between_steps(ax1,x,y)
plt.yticks([1,2,3,4])
Do you guys have any idea how to make such a representation be more intuitive?


Related Links

Can I use %f and %d to format floats and ints to strings in a list?
Order of array items changing when being printed
Python-how to calculate the highest tf-idf value of the first 100 words in different tweeets
Python String to float [duplicate]
Replicating “text to columns ” using a script
passing array as parameter of RunPython script in VBA (xlwings)
Need help making a graph with matplot
Can I make this work without global variables?
python regex - no match in script, although it should
argparse module: require arg1 or (arg2 and arg3)
python - Can't seem to call a parent class's method from the child
Populate XML values from HTML Web Form Using Python
Gunicorn + Flask-Restful : High CPU usage while starting
Pymongo Regex match with list
Python 2.7 The 'packaging' package is required; normally this is bundled with this package
EOF Error Pickle

Categories

HOME
cntk
antivirus
backup
wms
cocos2d-x-3.0
mapbox-gl-js
survival-analysis
csvhelper
is-empty
terrain
pygame
requirejs
eval
eclipse-cdt
getorgchart
android-source
ssr
jboss7.x
cpanel
dlib
react-leaflet
lenskit
prestodb
flexlm
cython
uiautomator
excel-2010
esql
apply
profile
jenkins-job-dsl
kong
codelite
metadata-extractor
spring-data-neo4j
vcard
pentaho-report-designer
ggmap
bitcoin-testnet
jboss5.x
rowcount
svnkit
pari
exponential
canvasjs
hawtio
pljson
npm-shrinkwrap
ios-ui-automation
topic-modeling
intellij-idea-2016
constants
html-agility-pack
finite-element-analysis
dojox.grid.datagrid
amazon-clouddrive
azure-availability-set
double-buffering
rhel6
pagefile
collapsingtoolbarlayout
spatial-query
gemini
remoteapp
distribute
multinomial
affix
matcaffe
oai
programming-paradigms
ipojo
type-mismatch
consensus
magento-1.12
named-ranges
odftoolkit
docopt
adaptive-compression
sql-server-2012-web
client-side-scripting
pep8
cgpath
lync-server-2010
linkedhashset
datarepeater
icefaces-3
getstring
hibernate3
mysql-error-1045
nemerle
serp
charts4j
windows-live-id
scalaxb
ihttphandler
symbol-server
carbide
pci-bus
oggvorbis
usability-testing





Mobile Apps Dev
Database Users
javascript
java
csharp
php
android


MS Developer
developer works
python
ios
c
html
jquery


RDBMS discuss