Questions tagged [linewidth]

13 questions
2
votes
1 answer

Continuous changing linewidth becomes transparent in ggplot

I am experimenting with the linewidth aesthetic in ggplot and mainly how to use it for continuously changing a line. When I am trying to create a continuously growing linewidth line, it becomes transparent. Here is some reproducible…
Quinten
  • 35,235
  • 5
  • 20
  • 53
2
votes
0 answers

Matplotlib problems with linewidths

I noticed in doing some line plots that Matplotlib exhibits strange behaviour (using Python 3.7 and the default TKAgg backend). I've created a program plotting lines of various widths to show the problem. The program creates a bunch of financial…
FinGeek
  • 65
  • 6
2
votes
2 answers

gnuplot: why is linewidth 0 not zero in width?

What is the reason that lw 0 doesn't have zero linewidth, i.e. invisible? What I find in the gnuplot manual: The line width and point size are multipliers for the current terminal's default width ... Ok, if lw 0 is a multiplier then the…
theozh
  • 22,244
  • 5
  • 28
  • 72
1
vote
1 answer

How to use edges on horizontal bars that do not expand the bars in matplotlib with python

Background: I'm developing a python package for business charts based on matplotlib (see: https://pypi.org/project/Clean-Business-Chart/). I want to add a function for the horizontal barchart, inspired by IBCS. Problem: The barheight of 0.65 is…
1
vote
0 answers

How to adjust the line width to different values for a line chart in Python Matplotlib

I am trying to create a line chart with Matplotlib in Python. Is there a way to adjust the width of the line based on different values? That means for one line, its width is different for different values on x axis. The example chart I am trying to…
Sam
  • 11
  • 1
0
votes
0 answers

How to change the linewidth of a single line from a dataframe chart with many lines on matplotlib?

(stock_values / stock_values.iloc[0] * 100).plot(figsize=(10,6)); plt.show() The chart has 20 stock lines and I wish to change the linewidth of only one. I've scoured several alternatives, but none worked in a simple way.
0
votes
1 answer

R ggplot2 - format linewidth and linetype on a specific serie when using group and color

I had this diagram based on df (78 obs. of 3 variables), see head of df below: head(df_konj) Indikator Period value 1 Barometerindikatorn 2022-01-01 110.9 2 Barometerindikatorn 2022-02-01 114.0 3 Barometerindikatorn 2022-03-01…
Christian
  • 117
  • 1
  • 3
  • 10
0
votes
1 answer

Problem with adjusting the box line width

For some reason, even if I set the line width of the boxes to the minimum (0.00cm), it still stays very bold when exported to pdf. I've been searching for a solution but to no avail. screenshot of flowchart in dia screenshot of flowchart in pdf
Riku_dola
  • 1
  • 4
0
votes
1 answer

Matplotlib / Mplfinance - how to change line width

maybe someone knows what I need add here to change line width? mpf.plot(df4, type='candle', style='yahoo', volume=True, hlines=[12,4], )
AndriusJ
  • 9
  • 6
0
votes
0 answers

Contour linewidths not changing

I am using the clabel function to draw contour lines on a contour plot. I have the following relevant piece of code, for which I keep getting the error message: The following kwargs were not used by contour: 'linewidth'. The current output has…
Sid
  • 266
  • 5
  • 13
0
votes
1 answer

Line width not displayed properly in RStudio

I am working on a boxplot to display parameter estimates in RStudio, so far, so good, however, there seems to be a problem when I try to change the size of elements. I only want to make the line slightly bigger, but when I try, the lines are…
0
votes
1 answer

Can't plot when using dynamic linewidth

I am using version3. It just won´t work: width = (RMI > 86) ? 1 : 4 plot(RMI, title="RMI", linewidth=width, color=col, transp=0) error message is something like line 71: Cannot call plot with arguments...
lumek
  • 1
0
votes
0 answers

How to adjust width of line on horizontal charts with python matplotlib

I have actually 2 questions. I am trying to make a chart displaying both horizontal bar lines and vertical plot lines with matplotlib. This is a currency price chart. X ordinate is date but I use numbers for now. Y ordinate is price. And volume that…
milikest
  • 61
  • 1
  • 9