Skip to main content

All Questions

Tagged with
0 votes
1 answer
33 views

Ignore text values from excel table while plotting data

I want to plot a table that has numerical and string values in it. I would like to generate a PDF but to professionally display it, I want all my string values (NM, N/A) as is without having the "...
Josue Criollo's user avatar
0 votes
0 answers
15 views

How do I make a graph to model the trend of retail sales, and also extrapolate/predict the trend for future years?

This is the data sheet I want to use - https://www.ons.gov.uk/businessindustryandtrade/retailindustry/datasets/retailsalesindexreferencetables. Can someone tell me what I can use to put the data (...
pxkaa's user avatar
  • 1
0 votes
0 answers
39 views

`matplotlib` figure border and text disagree about the figure limits

I find the behavior of the following image to be surprising. import matplotlib.pyplot as plt fig, ax = plt.subplots() plt.text(1.3, 1.3, "ABC", color = 'red') # Add blue border # fig....
Dave's user avatar
  • 326
1 vote
1 answer
30 views

Filter highest values for a plot

I have this code and I want only the highest values, i.e above 10 percent female share: graph hbar (percent) if Sector=="Professional and Personal Services", over(sex) over(Occupation, sort(...
Fefa_Almeida96's user avatar
0 votes
0 answers
32 views

How to smooth a 3D surface plot?

i have plotted a surface plot that looks really nice, but its not smooth. I want advice how to smooth Here is the code chunk : fuel_consumption_vals = below_torque_df["Fuel Consumption (kg/h)&...
Tosh_gitonga's user avatar
0 votes
0 answers
12 views

how can I use coordinates of path walked by multiple subjects

I have the coordinates of the path 60 mice walked in their cage (each mouse was alone in a different cage) over a week. I want to somehow show the "average" path of all of the mice but not ...
kfir648's user avatar
  • 65
0 votes
0 answers
52 views

Plotting a three variable complex function with Maple

I am a beginner to Maple and I have to plot a three variable function with Maple. The function I have to graph is a solution to a two dimensional, time dependent PDE : f(x,y,t) = e^{it}sin(2x).sin(4y) ...
Ada Az's user avatar
  • 1
0 votes
0 answers
101 views

Is there an easy way to put the linear regression equation in the plot?

I'm new into R-language, since my field is quantitative chemistry i would really like to start improving myself and aiming to work on R for my future lab reports as an student. I've search about that ...
GINA's user avatar
  • 1
0 votes
1 answer
82 views

Is there a way to plot a line that changes colour depending on Y-axis value? Like a gradient line using plt.plot in Python? [duplicate]

I have a large dataset with the temperature taken each day for several years. I want to plot the temperature on a graph. How can I have one continuous line that changes two colours depending on if the ...
user1's user avatar
  • 1
2 votes
1 answer
115 views

Is there a way to customise panel titles in an effects plot?

I have created the plot below to visualize interactions but I was wondering if I can customize the parts of the plot that say education = College, education = Graduate, education = High School. Code: #...
ihecker's user avatar
  • 105
0 votes
2 answers
64 views

Remove lines from txt script for python plot

I have a very simple working python file that creates graphs from txtfiles, using the following code; filename = "curve_htc6000_2.txt" setTemp = 200 df = pd.read_csv(filename, ...
JetskiS's user avatar
  • 59
0 votes
1 answer
33 views

How do a plot the surface given by e^-(y)*cos(x) in scilab?

I want to plot a 3d surface in scilab with this profile: e^(-y)*cos(x). I plotted in geogebra and it gone allright, but when I try it in scilab it returns another surface that does not correspond to ...
Isadora Caetano's user avatar
0 votes
1 answer
48 views

using a .dat archive in python tkinter

So i wanted to make a code that would get a value and turn it into a graph plot, the below code is working and showing the content of the .dat file, but it's not what my teacher wanted lmao from ...
Guilherme's user avatar
0 votes
0 answers
22 views

My plot doesn't show line but only dot in graph

I would like to get weather data and visualize it as graph. but my plotting shows only dot. Could you please help me to make it show line for me? import requests import json import matplotlib.pyplot ...
youngcheol kang's user avatar
0 votes
0 answers
35 views

There is a gap at the end of the chart generated with JPGraph

I'm generating a graph with JPGraph and it ends before it should, with a gap (it does not remove data, though). Not only that, it also adds some weird numbers, they look like hours and minutes, but ...
user597960's user avatar

15 30 50 per page
1
2 3 4 5
108