## MATLAB – How to zoom subplots together?

I have multiple subplots in one figure. The X axis of each plot is the same variable (time). The Y axis on each plot is different (both in what it represents and the magnitude of the data).

I would …

## Finding moving average from data points in Python

I am playing in Python a bit again, and I found a neat book with examples. One of the examples is to plot some data. I have a .txt file with two columns and I have the data. I plotted the data just …

## Special characters and superscripts on plot axis titles

I am trying to make a y-axis title with both a special character and a superscript. I am able to do this, but I want the closing parentheses not to be superscripted. And that’s what I’m having a …

## MATLAB subplot margin

I’m plotting 5 x 3 plots using subplot command, but there are massive margins around each subplot.

How do I control the margin size around them?

Anybody can help?

figure;
for c=1:15
subplot(5,…

## Making plot in Qt

I need to implement some plot like that or that in my app ,
it can be even something similar.

I made a search on Qt web site with no progress , and I saw Qwt package but nothing similar there.

Any …

## What are the standard colors for plots in Mathematica?

When using the Plot or ListPlot command in Mathematica, certain default colors are chosen.

For reasons of uniformity within some report I would like to use them along with the PlotStyle option. It …

## How do you directly overlay a scatter plot on top of a jpg image in matplotlib / Python?

I need to rapidly plot jpg frames that result as the output of a tracking algorithm. Companion with the jpg frames are text files containing simple (x,y) data locating the image targets that are being …

## reversed Y-axis D3

I am pretty new to D3. I created a bar plot and my Y axis is reversed somehow (also seems like the scale is not right). I really couldn’t figure it out by myself. Here is the link for Jsfiddle.

This …

## Plot dashed line interrupted with data (similar to contour plot)

I am stuck with a (hopefully) simple problem.
My aim is to plot a dashed line interrupted with data (not only text).
As I only found out to create a dashed line via linestyle = ‘dashed’, any help is …

## How to place the intercept of x and y axes at (0 , 0) and extend the x and y axes to the edge of the plot

Suppose I want to plot x^2. I can use curve() as follows.

curve(x^2, -5, 5)
However, I would like the axes to go through (0, 0). I could do something as follows:

curve(x^2, -5, 5, axes=FALSE)
axis(…