Re: [petsc-users] Drawing a line plot with two lines

2023-04-14 Thread Matthew Knepley
On Fri, Apr 14, 2023 at 2:58 AM Smit Thijs wrote: > Hi All, > > > I am trying to plot a loglog plot with two lines, one for my error and one > with a slope of 1. Plotting only the error or only the slope of 1 works > fine, but I like both lines in the same plot (that doesn’t work till now). > Doe

[petsc-users] Drawing a line plot with two lines

2023-04-13 Thread Smit Thijs
Hi All, I am trying to plot a loglog plot with two lines, one for my error and one with a slope of 1. Plotting only the error or only the slope of 1 works fine, but I like both lines in the same plot (that doesn't work till now). Does somebody know how to solve this? Find a code snipet below: